.site-header {
	padding-bottom: 16px;
}

.entry-content > .wp-block-group:first-of-type {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.entry-title {
	font-size: 2rem !important;
	line-height: 1.25 !important;
}

div[style*="border-radius"]:not([aria-hidden="true"]):not([aria-hidden="true"] *) {
	box-shadow: 0 20px 48px rgba(28,28,31,0.28) !important;
}

/* Divider lines above and below the primary menu */
#site-navigation {
	border-top: 1px solid #dcdfe3;
	border-bottom: 1px solid #dcdfe3;
	padding-top: 14px;
	padding-bottom: 14px;
}

/* Subscribe button: black background, brand blue text, blue border */
.wp-block-jetpack-subscriptions .wp-block-button__link {
	background-color: #000000 !important;
	color: #3a8abb !important;
	border-color: #3a8abb !important;
	border-width: 4px !important;
	border-style: solid !important;
	font-weight: 800 !important;
	letter-spacing: .3px !important;
	font-size: 0 !important;
	white-space: nowrap !important;
	border-radius: 12px !important;
	box-shadow: 0 8px 20px rgba(0,0,0,0.35) !important;
}

/* Replace default "Subscribe" label with custom text, sized smaller to fit */
.wp-block-jetpack-subscriptions .wp-block-button__link::before {
	display: inline !important;
	content: "Join The Living Blog";
	font-size: 19px !important;
	font-weight: 800 !important;
	letter-spacing: .3px !important;
	color: #3a8abb !important;
}

.wp-block-jetpack-subscriptions .wp-block-button__link:hover,
.wp-block-jetpack-subscriptions .wp-block-button__link:focus {
	background-color: #1c1c1f !important;
}

.wp-block-jetpack-subscriptions .wp-block-button__link:hover::before,
.wp-block-jetpack-subscriptions .wp-block-button__link:focus::before {
	color: #5aa8d1 !important;
}

/* Social icons: top-right of header, every page */
.site-header {
	position: relative;
}

.social-navigation {
	position: absolute;
	top: 0;
	right: 8px;
	z-index: 20;
	background: rgba(255,255,255,0.92);
	padding: 3px 9px;
	border-radius: 14px;
	box-shadow: 0 4px 12px rgba(28,28,31,0.15);
	width: auto;
}

.social-navigation .menu-social-links-container {
	margin: 0;
}

.social-navigation ul.social-links-menu {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-navigation ul.social-links-menu li {
	margin: 0;
	padding: 0;
}

.social-navigation .svg-icon {
	width: 16px;
	height: 16px;
	fill: #1c1c1f;
}

.social-navigation a:hover .svg-icon,
.social-navigation a:focus .svg-icon {
	fill: #3a8abb;
}

/* Floating subscribe button: report offer */
.jetpack-subscribe-floating-button .wp-block-jetpack-subscriptions .wp-block-button__link {
	white-space: normal !important;
	width: 290px !important;
	max-width: 290px !important;
	text-align: center !important;
	padding: 12px 18px !important;
}

.jetpack-subscribe-floating-button .wp-block-jetpack-subscriptions .wp-block-button__link::before {
	content: "Subscribe to Living Blog to receive The Culture Dividend report." !important;
	display: inline-block !important;
	width: 100% !important;
	white-space: normal !important;
	font-size: 15px !important;
	line-height: 1.3 !important;
}

@media (max-width: 480px) {
	.jetpack-subscribe-floating-button .wp-block-jetpack-subscriptions .wp-block-button__link {
		width: 250px !important;
		max-width: 250px !important;
		padding: 10px 14px !important;
	}
	
	.jetpack-subscribe-floating-button .wp-block-jetpack-subscriptions .wp-block-button__link::before {
		font-size: 13px !important;
	}
}

/* end floating */
/* Floating subscribe button: replaced by the report box (footer widget) */
.jetpack-subscribe-floating-button {
	display: none !important;
}

.site-footer .widget-area:has(.law-float-subscribe) {
	margin: 0 !important;
	padding: 0 !important;
}

.law-float-subscribe:hover,
.law-float-subscribe:focus {
	background-image: linear-gradient(135deg,#16191e 0%,#1e3a5f 100%) !important;
	color: #ffffff !important;
}

/* end floating */
/* report-promo-mini start */
@keyframes lw-swoosh {
	0% {
		opacity: 0;
		transform: translateX(110vw);
	}
	
	60% {
		opacity: 1;
		transform: translateX(-18px);
	}
	
	78% {
		transform: translateX(8px);
	}
	
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

.entry-content div.report-promo-mini.report-promo-mini.report-promo-mini[style] {
	box-shadow: 0 22px 44px rgba(0,0,0,.38), 0 8px 16px rgba(0,0,0,.24) !important;
}

.report-promo-mini img {
	animation: none !important;
}

body {
	overflow-x: clip;
}

/* report-promo-mini end */
/* blog glow off */
.page-id-548 .entry-content > .wp-block-group > div[aria-hidden="true"][style*="radial-gradient"] {
	display: none !important;
}

/* Redesigned pages: hide the old theme header and page titles */
body.page-id-192 #masthead,
body.page-id-833 #masthead,
body.page-id-441 #masthead,
body.page-id-1056 #masthead,
body.page-id-548 #masthead,
body.page-id-180 #masthead,
body.page-id-1976 #masthead {
	display: none !important;
}

body.page-id-192 .entry-header,
body.page-id-833 .entry-header,
body.page-id-441 .entry-header,
body.page-id-1056 .entry-header,
body.page-id-548 .entry-header,
body.page-id-180 .entry-header ,body.page-id-1976 .entry-header{
	display: none !important;
}

body.page-id-192 .entry-content,
body.page-id-833 .entry-content,
body.page-id-441 .entry-content,
body.page-id-1056 .entry-content,
body.page-id-548 .entry-content,
body.page-id-180 .entry-content {
	margin-top: 0 !important;
}

/* Redesigned pages: images swoosh in from the right when the page opens */
@keyframes lw-swoosh-in {
	from {
		opacity: 0;
		transform: translateX(90px);
	}
	
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

:is(body.page-id-192, body.page-id-833, body.page-id-441, body.page-id-1056, body.page-id-548, body.page-id-180) #page {
	overflow-x: clip;
}

/* Hide the WordPress.com gray action bar (Comment / Subscribe) */
#actionbar {
	display: none !important;
}

/* The Culture Dividend report post: use the new site design */
body.postid-1364 #masthead,
body.postid-1364 .entry-header,
body.postid-1364 .entry-footer,
body.postid-1364 .post-navigation {
	display: none !important;
}

body.postid-1364 .entry-content {
	margin-top: 0 !important;
}

body.postid-1364 #page {
	overflow-x: clip;
}

/* Report post: keep the site footer last, below the subscribe box */
body.postid-1364 .entry-content {
	display: flex;
	flex-direction: column;
}

body.postid-1364 .entry-content > * {
	width: 100%;
}

body.postid-1364 .entry-content > .lw-post-footer {
	order: 2;
}

body.postid-1364 .entry-content > .sharedaddy {
	order: 3;
}

body.postid-1364 .entry-content > .jetpack-subscribe-paywall {
	margin-top: 0 !important;
	margin-bottom: 72px !important;
	border-color: #dcdfe3 !important;
	border-radius: 14px !important;
}

/* Report post: subscribe box button in the new navy style */
body.postid-1364 .jetpack-subscribe-paywall .wp-block-button__link {
	background-color: #1e3a5f !important;
	border: 1px solid #1e3a5f !important;
	border-radius: 0 50px 50px 0 !important;
	box-shadow: none !important;
}

body.postid-1364 .jetpack-subscribe-paywall .wp-block-button__link::before {
	color: #ffffff !important;
	font-size: 16px !important;
}

body.postid-1364 .jetpack-subscribe-paywall .wp-block-button__link:hover,
body.postid-1364 .jetpack-subscribe-paywall .wp-block-button__link:focus {
	background-color: #2d6f99 !important;
	border-color: #2d6f99 !important;
}

body.postid-1364 .jetpack-subscribe-paywall .wp-block-button__link:hover::before,
body.postid-1364 .jetpack-subscribe-paywall .wp-block-button__link:focus::before {
	color: #ffffff !important;
}

/* Report post: email sign-up sits directly under the hero */
body.postid-1364 .entry-content > .lw-report-hero {
	order: -1;
}

body.postid-1364 .entry-content > .lw-report-inside {
	order: 1;
}

body.postid-1364 .entry-content > .jetpack-subscribe-paywall {
	margin-top: 64px !important;
	margin-bottom: 64px !important;
}

body.postid-1364 #subscribe-blog {
	scroll-margin-top: 260px;
}

/* Report post: sign-up box wording */
body.postid-1364 .jetpack-subscribe-paywall h2,
body.postid-1364 .jetpack-subscribe-paywall h2 + p {
	font-size: 0 !important;
}

body.postid-1364 .jetpack-subscribe-paywall h2::after {
	content: "Enter your email to get the report";
	font-size: 24px;
}

body.postid-1364 .jetpack-subscribe-paywall h2 + p::after {
	content: "Subscribe to The Living Blog and your free copy of The Culture Dividend unlocks right here.";
	font-size: 14px;
}

/* Privacy Policy and Terms of Service: use the new site design */
body.page-id-552 #masthead,
body.page-id-553 #masthead,
body.page-id-552 .entry-header,
body.page-id-553 .entry-header {
	display: none !important;
}

body.page-id-552 .entry-content,
body.page-id-553 .entry-content {
	margin-top: 0 !important;
}

body.page-id-552 #page,
body.page-id-553 #page {
	overflow-x: clip;
}

/* Blog posts in the new site design */
body.single-post:has(.lw-post-hero, .lw-post-body) #masthead,
body.single-post:has(.lw-post-hero, .lw-post-body) .entry-header,
body.single-post:has(.lw-post-hero, .lw-post-body) .entry-footer {
	display: none !important;
}

body.single-post:has(.lw-post-hero, .lw-post-body) #page {
	overflow-x: clip;
}

body.single-post:has(.lw-post-hero, .lw-post-body) #main {
	display: flex;
	flex-direction: column;
	margin-top: 0 !important;
}

body.single-post:has(.lw-post-hero, .lw-post-body) #main > article,
body.single-post:has(.lw-post-hero, .lw-post-body) #main > article > .entry-content {
	display: contents;
}

body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > *,
body.single-post:has(.lw-post-hero, .lw-post-body) #main > .post-navigation,
body.single-post:has(.lw-post-hero, .lw-post-body) #main > .comments-area {
	width: 100%;
}

body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > .lw-post-hero {
	order: -2;
	margin-top: 0 !important;
	margin-bottom: 64px !important;
}

body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > .sharedaddy,
body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > .wp-block-group.has-border-color {
	order: 1;
}

body.single-post:has(.lw-post-hero, .lw-post-body) #main > .post-navigation {
	order: 2;
}

body.single-post:has(.lw-post-hero, .lw-post-body) #main > .comments-area {
	order: 3;
}

body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > .lw-post-footer {
	order: 10;
	margin-top: 72px !important;
	margin-bottom: 0 !important;
}

body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > p,
body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > ul,
body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > ol,
body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > blockquote {
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
	font-size: 18px;
	line-height: 1.75;
	color: #3d4652;
}

body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > h2,
body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > h3 {
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
	font-weight: 800;
	color: #1e3a5f;
}

body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > p a,
body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > ul a,
body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > ol a {
	color: #2d6f99;
}

body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > .wp-block-image img {
	border-radius: 8px;
}

body.single-post:has(.lw-post-hero, .lw-post-body) .post-navigation a,
body.single-post:has(.lw-post-hero, .lw-post-body) .post-navigation .post-title {
	color: #1e3a5f !important;
}

/* Post lists (blog feed, archives, search): don't repeat the page header and footer inside each post */
body:not(.single) .lw-post-hero,
body:not(.single) .lw-post-footer,
body:not(.single) .lw-report-hero > div:first-child,
body:not(.single) .lw-report-hero > .lw-services-strip {
	display: none !important;
}

/* Blog posts: tighter spacing between paragraphs */
body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > p,
body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > ul,
body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > ol,
body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > blockquote,
body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > figure,
body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > .wp-block-image {
	margin-top: 0 !important;
	margin-bottom: 22px !important;
}

body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > h2,
body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > h3 {
	margin-top: 18px !important;
	margin-bottom: 14px !important;
}

body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > .wp-block-image {
	margin-bottom: 32px !important;
}

/* Blog posts: lead image under the title band, same shape on every post */
body.single-post:has(.lw-post-hero, .lw-post-body) .entry-content > .lw-post-hero + .wp-block-image img {
	width: 100%;
	aspect-ratio: 1.547;
	object-fit: cover;
}

/* lw-swoosh-all start: boxes, buttons and images swoosh in from the right when the page opens */
@keyframes lw-swoosh-right {
	0% {
		opacity: 0;
		transform: translateX(70vw);
	}
	
	60% {
		opacity: 1;
		transform: translateX(-14px);
	}
	
	80% {
		opacity: 1;
		transform: translateX(6px);
	}
	
	100% {
		opacity: 1;
		transform: none;
	}
}

body #page {
	overflow-x: clip;
}

/* Base: swoosh when the page opens */
.entry-content :is([style*="border-radius"]:not([style*="border-radius:50%"]), [style*="border-left:3px solid"], [style*="border-top:4px solid"], [role="img"], img:not([width="16"]), .wp-block-button__link):not([aria-hidden="true"]):not([style*="border-radius"] *) {
	animation: lw-swoosh-right .9s cubic-bezier(.22,.9,.3,1) both;
}

.entry-content :is([style*="border-radius"]:not([style*="border-radius:50%"]), [style*="border-left:3px solid"], [style*="border-top:4px solid"], [role="img"], img:not([width="16"]), .wp-block-button__link):not([aria-hidden="true"]):not([style*="border-radius"] *):nth-child(4n+2) {
	animation-delay: .1s;
}

.entry-content :is([style*="border-radius"]:not([style*="border-radius:50%"]), [style*="border-left:3px solid"], [style*="border-top:4px solid"], [role="img"], img:not([width="16"]), .wp-block-button__link):not([aria-hidden="true"]):not([style*="border-radius"] *):nth-child(4n+3) {
	animation-delay: .2s;
}

.entry-content :is([style*="border-radius"]:not([style*="border-radius:50%"]), [style*="border-left:3px solid"], [style*="border-top:4px solid"], [role="img"], img:not([width="16"]), .wp-block-button__link):not([aria-hidden="true"]):not([style*="border-radius"] *):nth-child(4n+4) {
	animation-delay: .3s;
}

@media print,(prefers-reduced-motion: reduce) {
	.entry-content :is([style*="border-radius"]:not([style*="border-radius:50%"]), [style*="border-left:3px solid"], [style*="border-top:4px solid"], [role="img"], img:not([width="16"]), .wp-block-button__link):not([aria-hidden="true"]):not([style*="border-radius"] *) {
		animation: none !important;
	}
}

/* lw-swoosh-all end */
/* News page (1802): hide theme header and page title, same as the other custom pages */
body.page-id-1802 #masthead,
body.page-id-1802 .entry-header {
	display: none !important;
}

body.page-id-1802 .entry-content {
	margin-top: 0 !important;
}

body.page-id-1802 #page {
	overflow-x: clip;
}

/* Video pop-ups: stop the swoosh animation on ancestors while a video is open so the overlay can cover the screen */
.entry-content :has(> details[open]),.entry-content :has(details[open]) {
	animation: none !important;
	transform: none !important;
}

/* Video pop-ups: player sits off-screen at full size (so YouTube loads a sharp preview) and slides in when its button is clicked */
.entry-content details[open] + .lw-video-modal {
	left: 0 !important;
}

/* Book Kevin to Speak page (1989): hide theme header and page title, same as the other custom pages */
body.page-id-1989 #masthead,
body.page-id-1989 .entry-header {
	display: none !important;
}

body.page-id-1989 .entry-content {
	margin-top: 0 !important;
}

body.page-id-1989 #page {
	overflow-x: clip;
}

/* Posts without the in-content title block (newsletter-safe): keep the theme title, styled like the post hero */
body.single-post:has(.lw-post-body):not(:has(.lw-post-hero)) .entry-header {
	display: block !important;
	order: -2;
	width: 100%;
	max-width: 860px;
	margin: 0 auto 48px !important;
	padding: clamp(24px,4vw,48px) 32px 8px !important;
	text-align: left !important;
	box-sizing: border-box;
}

body.single-post:has(.lw-post-body) .entry-header .entry-title {
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif !important;
	font-size: clamp(36px,4.6vw,60px) !important;
	line-height: 1.06 !important;
	font-weight: 800 !important;
	letter-spacing: -1.5px !important;
	color: #111214 !important;
	text-align: left !important;
	margin: 0 !important;
}

body.single-post:has(.lw-post-body) .entry-header .entry-meta {
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif !important;
	font-size: 16px !important;
	color: #000 !important;
	text-align: left !important;
	margin-top: 20px !important;
	justify-content: flex-start !important;
}

body.single-post:has(.lw-post-body) .entry-header .entry-meta a {
	color: #000 !important;
}

body.single-post:has(.lw-post-body) .entry-header .cat-links,
body.single-post:has(.lw-post-body) .entry-header .tags-links,
body.single-post:has(.lw-post-body) .entry-header .edit-link,
body.single-post:has(.lw-post-body) .entry-header .comments-link {
	display: none !important;
}

body.single-post:has(.lw-post-body) .entry-header svg {
	display: none !important;
}

body.single-post:has(.lw-post-body) .entry-header .byline,
body.single-post:has(.lw-post-body) .entry-header .posted-on {
	display: inline !important;
	margin: 0 !important;
}

body.single-post:has(.lw-post-body) .entry-header .byline::before {
	content: "By ";
}

body.single-post:has(.lw-post-body) .entry-header .posted-on::before {
	content: " · ";
}
/* GSpeech: one branded "listen" button, bottom right, blog posts only */
body.single-post .entry-content > .ssblock,
.rht_banner_wrapper,
.rht_icon_wrapper_element { display: none !important; }
body.single-post .entry-content > .lw-listen {
	position: fixed !important;
	right: 24px;
	bottom: 24px;
	z-index: 9990;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.lw-listen .gsp_circle_player,
.lw-listen .ssblock { margin: 0 !important; }
.lw-listen .ssplayyer_icon_bg_holder {
	background: #1e3a5f !important;
	box-shadow: 0 10px 24px rgba(17,18,20,.30) !important;
	border: 3px solid #ffffff !important;
	transition: background .2s ease;
}
.lw-listen .ssplayer_wrapper:hover .ssplayyer_icon_bg_holder { background: #2d6f99 !important; }
.lw-listen .ssplayer_wave { background: #8fc1e0 !important; }
.lw-listen .ss_title_vertical {
	background: #1e3a5f !important;
	color: #ffffff !important;
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif !important;
}
@media (max-width: 600px) {
	body.single-post .entry-content > .lw-listen { right: 16px; bottom: 16px; }
}

/* GSpeech: "Press to listen" label beside the listen button */
.lw-listen .ssplayer_icon_bg { position: relative; overflow: visible !important; }
.lw-listen .ssplayer_icon_bg::before {
	content: "Press to listen";
	position: absolute;
	right: calc(100% + 10px);
	top: 50%;
	transform: translateY(-50%);
	white-space: nowrap;
	background: #1e3a5f;
	color: #ffffff;
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .3px;
	line-height: 1;
	padding: 12px 18px;
	border-radius: 999px;
	border: 2px solid #ffffff;
	box-shadow: 0 10px 24px rgba(17,18,20,.25);
	cursor: pointer;
	pointer-events: auto;
}
.lw-listen .ssplayer_icon_bg:hover::before { background: #2d6f99; }
.lw-listen .ssplayer_icon_bg.ssplayer_play::before { display: none; }

/* Testimonials page (1976): same treatment as the other custom pages */
body.page-id-1976 .entry-content { margin-top: 0 !important; }
body.page-id-1976 #page { overflow-x: clip; }
