/* PropTech blog category pages: homepage-style intro panel. Markup wrapped by novamira-sandbox/fpx-blog.php */
.fpb-hero {
	--navy: #0f2a4b;
	--ink: #091b33;
	--teal: #6cc5bf;
	--head: "Roboto Condensed", "Arial Narrow", sans-serif;
	--body: "Roboto", system-ui, sans-serif;
	position: relative; overflow: hidden; isolation: isolate; box-sizing: border-box;
	margin: 28px 0 56px; padding: clamp(32px, 5vw, 64px);
	border-radius: 28px; color: #fff;
	background:
		radial-gradient(55% 90% at 92% 0%, rgba(108, 197, 191, .28), transparent 62%),
		linear-gradient(115deg, var(--ink) 0%, var(--navy) 100%);
	box-shadow: 0 40px 80px -45px rgba(9, 27, 51, .6);
}
.fpb-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 85%); mask-image: linear-gradient(90deg, transparent 15%, #000 85%);
}
.fpb-hero > * { position: relative; margin-left: 0 !important; margin-right: 0 !important; max-width: none; }
.fpb-hero hr, hr.wp-block-separator:has(+ .fpb-hero) { display: none; }
.fpb-hero__eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px !important;
	font: 600 13px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--teal);
}
.fpb-hero__eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.fpb-hero__count {
	position: absolute !important; top: clamp(28px, 4vw, 48px); right: clamp(28px, 4vw, 48px); margin: 0 !important;
	display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding: 14px 18px;
	border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
	font: 400 13px/1.2 var(--body); color: rgba(255, 255, 255, .75);
}
.fpb-hero__count strong { font: 800 30px/1 var(--head); color: var(--teal); }
.fpb-hero .fp-hero-title {
	margin: 0 !important; padding: 0 170px 0 0; border: 0; background: none;
	font: 800 clamp(40px, 5.4vw, 72px)/.95 var(--head) !important; letter-spacing: -.01em; text-transform: uppercase; color: #fff !important;
}
.fpb-hero .fp-hero-subtitle {
	margin: 20px 0 0 !important; padding: 0; border: 0; background: none; max-width: 42ch;
	font: 600 clamp(20px, 2vw, 26px)/1.25 var(--head) !important; text-transform: none; color: var(--teal) !important;
}
.fpb-hero .fp-hero-text {
	margin: 16px 0 0 !important; padding: 0; max-width: 62ch; text-align: left;
	font: 400 clamp(16px, 1.3vw, 18px)/1.65 var(--body) !important; color: rgba(255, 255, 255, .78) !important;
}
@media (max-width: 900px) {
	.fpb-hero .fp-hero-title { padding-right: 0; }
	.fpb-hero__count {
		position: static !important; flex-direction: row; align-items: baseline; gap: 8px;
		width: fit-content; margin: 0 0 20px !important; padding: 10px 14px;
	}
	.fpb-hero__count strong { font-size: 22px; }
}
@media (max-width: 640px) {
	.fpb-hero { border-radius: 20px; margin: 20px 0 40px; }
}

/* Some pages wrap the intro in a cover block (.fp-hero) and/or a panel (.fp-hero-panel): flatten both so every page matches */
.fp-hero:has(.fpb-hero) { min-height: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; overflow: visible; }
.fp-hero:has(.fpb-hero) > .wp-block-cover__image-background,
.fp-hero:has(.fpb-hero) > .wp-block-cover__background,
.fp-hero:has(.fpb-hero) > img { display: none !important; }
.fp-hero:has(.fpb-hero) > .wp-block-cover__inner-container { width: 100%; max-width: none !important; padding: 0 !important; color: inherit; }
.fp-hero:has(.fpb-hero) > .wp-block-cover__inner-container > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.fp-hero-panel:has(.fpb-hero) { max-width: none !important; width: auto; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; border-radius: 0; box-shadow: none !important; backdrop-filter: none !important; text-align: left; }
.fpb-hero { text-align: left; }
/* Same width and padding on every page, whatever wraps the intro */
.fp-hero:has(.fpb-hero), .fp-hero:has(.fpb-hero) > .wp-block-cover__inner-container, .fp-hero-panel:has(.fpb-hero) {
	display: block !important; position: static !important; width: 100% !important; max-width: none !important;
	margin-left: 0 !important; margin-right: 0 !important; left: auto !important; right: auto !important; transform: none !important;
}
.fpb-hero.fpb-hero {
	width: 100% !important; max-width: var(--content_width, 1170px) !important; margin: 36px auto 52px !important;
	padding: clamp(32px, 5vw, 64px) !important; box-sizing: border-box;
}
@media (max-width: 640px) { .fpb-hero.fpb-hero { width: calc(100% - 32px) !important; margin: 24px auto 40px !important; } }

/* Category pages: category list in two columns, latest from all categories in the third */
.fpb-cat .fp-cat-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important; align-items: start; column-gap: 40px !important; }
.fpb-cat .fp-cat-grid > .fp-main-loop { display: block !important; grid-column: 1 !important; grid-row: 1 !important; }
.fpb-cat .fp-cat-grid > .fp-main-loop > .wp-block-post-template { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--fp-gap, 20px); margin: 0; padding: 0; list-style: none; }
.fpb-cat .fp-main-loop .wp-block-post:first-child { grid-column: 1 / -1; }
.fpb-cat .fp-main-loop .wp-block-post > .wp-block-cover { background: linear-gradient(135deg, #1d3a5c 0%, #0f2a4b 100%); }
.fpb-cat .fp-main-loop .fp-pagination { margin-top: 28px !important; }
.fpb-cat .fp-cat-grid > .fp-latest { grid-column: 2 !important; grid-row: 1 !important; order: 0 !important; position: sticky; top: 110px; }
.fpb-col-title { margin: 0 0 22px !important; padding: 0; font: 800 clamp(22px, 2.2vw, 30px)/1.05 "Roboto Condensed", "Arial Narrow", sans-serif !important; letter-spacing: -.005em; text-transform: uppercase; color: #0f2a4b; }
.fpb-col-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.fpb-col-head .fpb-col-title { margin: 0 !important; }
.fpb-col-link { flex: none; font: 700 13px/1 "Roboto Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #3fa49d; text-decoration: none; }
.fpb-col-link::after { content: " \2192"; }
.fpb-col-link:hover { color: #0f2a4b; }
@media (max-width: 1024px) {
	.fpb-cat .fp-cat-grid { grid-template-columns: 1fr !important; }
	.fpb-cat .fp-cat-grid > .fp-latest { grid-column: 1 !important; grid-row: auto !important; position: static; margin-top: 48px !important; }
	.fpb-cat .fp-latest .wp-block-post-template { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.fpb-cat .fp-cat-grid > .fp-main-loop > .wp-block-post-template, .fpb-cat .fp-latest .wp-block-post-template { grid-template-columns: 1fr; }
}