/**
 * WPZOOM Connect Demo.
 *
 * The chrome is monochrome with hairline borders; color comes only from the
 * plugin's output inside each scene, plus the brand indigo on Pro badges.
 */

:root {
	--demo-ink: var(--wp--preset--color--ink, #121210);
	--demo-muted: var(--wp--preset--color--muted, #62625e);
	--demo-line: var(--wp--preset--color--line, #e6e6e3);
	--demo-soft: var(--wp--preset--color--soft, #f6f6f4);
	--demo-paper: var(--wp--preset--color--paper, #fff);
	--demo-brand: var(--wp--preset--color--brand, #665cee);
	--demo-brand-soft: var(--wp--preset--color--brand-soft, #efeefe);
	--demo-free: #0b7a4b;
	--demo-free-soft: #e6f5ed;
	--demo-radius: 16px;
}

body {
	-webkit-font-smoothing: antialiased;
}

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

.demo-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--demo-line);
}

.admin-bar .demo-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.demo-header-row {
	min-height: 68px;
	gap: 24px;
}

.demo-lockup {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--demo-ink);
	text-decoration: none;
	white-space: nowrap;
}

.demo-lockup:hover {
	color: var(--demo-ink);
}

.demo-mark {
	flex: none;
	display: block;
}

.demo-lockup-name {
	font-weight: 700;
	letter-spacing: -0.01em;
}

.demo-lockup-tag {
	padding: 2px 8px;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--demo-muted);
	border: 1px solid var(--demo-line);
	border-radius: 99px;
}

.demo-nav {
	font-size: 0.9375rem;
	gap: 4px 22px;
}

.demo-nav a {
	text-decoration: none;
	color: var(--demo-muted);
}

.demo-nav .current-menu-item > a,
.demo-nav a:hover {
	color: var(--demo-ink);
}

.demo-header-cta {
	flex-wrap: nowrap;
	gap: 8px;
}

.demo-header-cta .wp-block-button__link {
	padding: 0.5rem 0.95rem;
	font-size: 0.875rem;
	white-space: nowrap;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	color: var(--demo-ink);
	background: transparent;
	border: 1px solid var(--demo-line);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	color: var(--demo-ink);
	border-color: var(--demo-ink);
	background: transparent;
}

@media (max-width: 900px) {
	.demo-header-cta .is-style-outline {
		display: none;
	}
}

@media (max-width: 600px) {
	.demo-lockup-tag {
		display: none;
	}
}

/* Badges ---------------------------------------------------------------- */

.demo-badge {
	display: inline-flex;
	align-items: center;
	padding: 1px 8px;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	vertical-align: 0.15em;
	border-radius: 99px;
	white-space: nowrap;
}

.demo-badge.is-free {
	color: var(--demo-free);
	background: var(--demo-free-soft);
}

.demo-badge.is-pro {
	color: #fff;
	background: var(--demo-brand);
}

/* Page layout ----------------------------------------------------------- */

.demo-main {
	padding-bottom: var(--wp--preset--spacing--60);
}

.demo-hero {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--50);
	text-align: center;
}

.demo-hero h1 {
	max-width: 820px;
	margin-inline: auto;
}

.demo-hero .demo-lede {
	max-width: 640px;
	margin-inline: auto;
	font-size: var(--wp--preset--font-size--large);
	color: var(--demo-muted);
}

.demo-hero .wp-block-buttons {
	justify-content: center;
}

.demo-kicker,
.demo-kicker a {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--demo-muted);
	text-decoration: none;
}

.demo-legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 20px;
	font-size: 0.875rem;
	color: var(--demo-muted);
}

.demo-section {
	margin-top: var(--wp--preset--spacing--60) !important;
}

.demo-section-head {
	max-width: 720px;
	margin-bottom: var(--wp--preset--spacing--40);
}

.demo-section-head p {
	color: var(--demo-muted);
}

/* Scenes: a preview of the plugin's real output, with a caption under it -- */

.demo-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px 28px;
}

.demo-grid > * {
	margin: 0 !important;
}

@media (max-width: 760px) {
	.demo-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
}

.demo-scene {
	display: flex;
	flex-direction: column;
	gap: 0 !important;
}

.demo-scene + .demo-scene {
	margin-top: 56px !important;
}

.demo-grid > .demo-scene + .demo-scene {
	margin-top: 0 !important;
}

.demo-stage {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-height: 300px;
	padding: 44px 32px;
	background: #f1f1ee;
	border-radius: 14px;
}

.demo-stage > * {
	max-width: 100%;
	margin-block: 0 !important;
}

.demo-stage.is-plain {
	min-height: 0;
	padding: 28px;
}

@media (max-width: 600px) {
	.demo-stage {
		min-height: 0;
		padding: 28px 16px;
	}
}

.demo-scene-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 20px;
	padding: 18px 2px 0;
}

.demo-scene-head > * {
	margin: 0 !important;
}

.demo-scene-title {
	flex: 1 1 auto;
	min-width: 0;
}

.demo-scene-title > * {
	margin: 0 !important;
}

.demo-scene-title h2,
.demo-scene-title h3 {
	font-size: 1.0625rem;
	font-weight: 650;
	letter-spacing: -0.01em;
}

.demo-scene-title h2 .demo-badge,
.demo-scene-title h3 .demo-badge {
	margin-left: 6px;
}

.demo-scene-title p {
	margin-top: 4px !important;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--demo-muted);
}

.demo-scene-title p.demo-scene-how {
	margin-top: 6px !important;
	font-size: 0.8125rem;
	color: #8d8d87;
}

/* The Free / Pro switch (assets/demo.js) */

.demo-switch {
	display: inline-flex;
	flex: none;
	padding: 3px;
	background: var(--demo-soft);
	border: 1px solid var(--demo-line);
	border-radius: 99px;
}

.demo-switch button {
	padding: 4px 12px;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--demo-muted);
	background: none;
	border: 0;
	border-radius: 99px;
	cursor: pointer;
}

.demo-switch button[aria-pressed="true"] {
	color: var(--demo-ink);
	background: var(--demo-paper);
	box-shadow: 0 1px 2px rgba(18, 18, 16, 0.12), 0 0 0 1px var(--demo-line);
}

.demo-switch button[aria-pressed="true"].is-pro {
	color: #fff;
	background: var(--demo-brand);
	box-shadow: none;
}

.demo-variant[hidden] {
	display: none !important;
}

.demo-variant {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 100%;
}

.demo-variant > * {
	max-width: 100%;
	margin-block: 0 !important;
}

/* What the free version shows instead, when it has nothing for a scene */
.demo-not-in-free {
	max-width: 420px;
	padding: 18px 20px;
	font-size: 0.9rem;
	text-align: center;
	color: var(--demo-muted);
	background: var(--demo-paper);
	border: 1px dashed #cfcfca;
	border-radius: 12px;
}

.demo-not-in-free strong {
	display: block;
	margin-bottom: 2px;
	color: var(--demo-ink);
}

/* Mock-ups: plain site sections the plugin output sits in ---------------- */

.demo-frame {
	width: 100%;
	max-width: 520px;
	background: var(--demo-paper);
	border-radius: 10px;
	box-shadow: 0 0 0 1px rgba(18, 18, 16, 0.06), 0 1px 2px rgba(18, 18, 16, 0.04), 0 18px 40px -22px rgba(18, 18, 16, 0.28);
	container-type: inline-size;
}

.demo-frame-body {
	padding: 24px 26px;
}

.demo-frame-body > * {
	margin-block: 0;
}

.demo-frame-body > * + * {
	margin-top: 12px;
}

.demo-frame-body .wp-block-wpzoom-blocks-social-icons {
	margin-inline: -3px;
}

/* Type used inside the mock-ups */
.demo-col-label {
	font-size: 0.6875rem;
	font-weight: 650;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8d8d87;
}

.demo-col-text {
	font-size: 0.875rem;
	line-height: 1.5;
	color: #3d3d3a;
}

.demo-headline {
	font-size: 1.375rem;
	font-weight: 650;
	line-height: 1.22;
	letter-spacing: -0.02em;
}

.demo-headline.is-small {
	font-size: 1.0625rem;
	letter-spacing: -0.01em;
}

.demo-wordmark {
	font-size: 0.875rem;
	font-weight: 750;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* A site header or footer bar */
.demo-site-bar {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
}

.demo-site-bar > * {
	margin: 0 !important;
}

.demo-site-bar > .wp-block-wpzoom-blocks-social-icons {
	flex: none;
	width: auto;
}

.demo-site-name {
	font-weight: 700;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.demo-site-bar.is-dark {
	margin: 18px -26px -24px !important;
	padding: 18px 26px;
	color: #fff;
	background: #17171a;
	border-radius: 0 0 10px 10px;
}

.demo-fake-nav {
	margin: 0 0 0 auto !important;
	font-size: 0.8125rem;
	color: var(--demo-muted);
	word-spacing: 0.4em;
}

@container (max-width: 460px) {
	.demo-fake-nav {
		display: none;
	}

	.demo-site-bar .wp-block-wpzoom-blocks-social-icons {
		margin-left: auto !important;
	}

	.demo-site-bar.is-dark {
		flex-wrap: wrap;
	}

	.demo-site-bar.is-dark .wp-block-wpzoom-blocks-social-icons {
		margin-left: -4px !important;
	}
}

/* Grey lines that stand in for text */
.demo-lines {
	display: grid;
	gap: 8px;
}

.demo-lines span {
	display: block;
	height: 7px;
	background: #eeeeeb;
	border-radius: 4px;
}

.demo-lines span:nth-child(2) {
	width: 86%;
}

.demo-lines span:nth-child(3) {
	width: 64%;
}

/* People: a neutral silhouette, and a monogram for a brand */
.demo-person {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	overflow: hidden;
	background: #ecebe7;
	border-radius: 50%;
}

.demo-person svg {
	width: 100%;
	height: 100%;
	margin-top: 6px;
	fill: #c4c2bb;
}

.demo-monogram {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin-inline: auto;
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
	background: var(--demo-ink);
	border-radius: 50%;
}

/* Restaurant footer: three columns */
.demo-venue {
	display: grid;
	gap: 18px;
}

.demo-venue > * {
	margin: 0 !important;
}

.demo-cols {
	display: grid;
	grid-template-columns: 1fr 1fr 1.6fr;
	gap: 16px 20px;
	padding-top: 16px;
	border-top: 1px solid var(--demo-line);
}

.demo-col > * {
	margin: 0 !important;
}

.demo-col > * + * {
	margin-top: 6px !important;
}

@container (max-width: 460px) {
	.demo-cols {
		grid-template-columns: 1fr 1fr;
	}

	.demo-cols > :last-child {
		grid-column: 1 / -1;
	}
}

/* Covers: solid color and type */
.demo-cover {
	display: flex;
	align-items: flex-end;
	flex: none;
	width: 88px;
	height: 88px;
	padding: 9px;
	font-size: 0.8125rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	border-radius: 8px;
}

.demo-cover.is-podcast {
	color: #111;
	background: #f2b33d;
}

.demo-cover.is-album {
	width: 120px;
	height: 120px;
	padding: 12px;
	font-size: 1.25rem;
	color: #f6d36b;
	background: #23275c;
	border-radius: 4px;
}

/* Podcast episode */
.demo-ep {
	display: flex;
	gap: 16px;
	align-items: center;
}

.demo-ep > *,
.demo-ep-text > * {
	margin: 0 !important;
}

.demo-ep-text {
	flex: 1;
	min-width: 0;
}

.demo-ep-text > * + * {
	margin-top: 4px !important;
}

.demo-ep-title {
	font-size: 1.0625rem;
	font-weight: 650;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.demo-player {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px !important;
}

.demo-play {
	position: relative;
	flex: none;
	width: 28px;
	height: 28px;
	background: var(--demo-ink);
	border-radius: 50%;
}

.demo-play::after {
	content: "";
	position: absolute;
	top: 9px;
	left: 11px;
	border-style: solid;
	border-width: 5px 0 5px 8px;
	border-color: transparent transparent transparent #fff;
}

.demo-track {
	flex: 1;
	height: 4px;
	background: #ebebe8;
	border-radius: 2px;
}

.demo-track span {
	display: block;
	width: 25%;
	height: 100%;
	background: var(--demo-ink);
	border-radius: 2px;
}

.demo-time {
	font-size: 0.75rem;
	font-variant-numeric: tabular-nums;
	color: #8d8d87;
}

.demo-listen {
	margin-top: 18px !important;
	padding-top: 16px;
	border-top: 1px solid var(--demo-line);
}

.demo-listen > * {
	margin: 0 !important;
}

.demo-listen > * + * {
	margin-top: 8px !important;
}

/* A band's release, on a dark section */
.demo-release {
	display: flex;
	gap: 20px;
	align-items: center;
	width: 100%;
	max-width: 520px;
	padding: 24px;
	background: #111214;
	border-radius: 10px;
}

.demo-release > *,
.demo-release-text > * {
	margin: 0 !important;
}

.demo-release-text {
	min-width: 0;
}

.demo-release-title {
	font-size: 1.25rem;
	font-weight: 650;
	letter-spacing: -0.01em;
	color: #fff;
}

.demo-release-meta {
	margin-top: 2px !important;
	margin-bottom: 12px !important;
	font-size: 0.875rem;
	color: #9a9aa2;
}

@media (max-width: 480px) {
	.demo-release {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Author box */
.demo-author {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.demo-author > *,
.demo-author-text > * {
	margin: 0 !important;
}

.demo-author-text > * + * {
	margin-top: 6px !important;
}

/* Team page */
.demo-team {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
	max-width: 560px;
}

.demo-member {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 10px 14px;
	text-align: center;
	background: var(--demo-paper);
	border-radius: 10px;
	box-shadow: 0 0 0 1px rgba(18, 18, 16, 0.06), 0 10px 24px -18px rgba(18, 18, 16, 0.3);
}

.demo-member > * {
	margin: 0 !important;
}

.demo-member-role {
	margin-top: 12px !important;
	font-size: 0.875rem;
	font-weight: 650;
	line-height: 1.3;
}

.demo-member-meta {
	margin-top: 2px !important;
	margin-bottom: 8px !important;
	font-size: 0.75rem;
	color: #8d8d87;
}

@media (max-width: 480px) {
	.demo-team {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Link-in-bio phone */
.demo-phone {
	width: 300px;
	max-width: 100%;
	padding: 30px 18px 24px;
	text-align: center;
	background: var(--demo-paper);
	border-radius: 32px;
	box-shadow: 0 0 0 1px rgba(18, 18, 16, 0.06), 0 22px 44px -24px rgba(18, 18, 16, 0.35);
}

.demo-phone > * {
	margin-block: 0;
}

.demo-phone > * + * {
	margin-top: 10px;
}

.demo-phone-name {
	margin-top: 14px !important;
	font-weight: 700;
}

.demo-phone-bio {
	font-size: 0.875rem;
	color: var(--demo-muted);
}

.demo-phone .wp-block-wpzoom-blocks-social-profiles,
.demo-phone .wpz-sp__list {
	width: 100%;
}

.demo-phone .is-layout-buttons .wpz-sp__item,
.demo-phone .is-layout-buttons .wpz-sp__link {
	width: 100%;
	justify-content: center;
}

.demo-phone .is-layout-list {
	text-align: left;
}

/* Floating share bar mock-up: the bar on the left edge of the article */
.demo-floating-mock {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.demo-floating-mock > * {
	margin: 0 !important;
}

.demo-floating-share {
	margin-left: -26px !important;
	padding: 4px 4px 4px 0;
	background: var(--demo-paper);
	border-radius: 0 10px 10px 0;
	box-shadow: 0 6px 18px -8px rgba(18, 18, 16, 0.3);
}

.demo-floating-share .social-sharing-icons {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	margin: 0;
	padding: 0;
}

.demo-floating-share .social-sharing-icon {
	margin: 0 !important;
}

.demo-floating-text {
	display: grid;
	gap: 14px;
}

.demo-floating-text > * {
	margin: 0 !important;
}

.demo-share-label {
	font-size: 0.6875rem;
	font-weight: 650;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8d8d87;
}

/* Classic menu with Pro's menu icons ([connect_demo_menu]) */
.demo-classic-menu ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
}

.demo-classic-menu a {
	text-decoration: none;
}

.demo-classic-menu .menu-item-type-wpzoom {
	display: flex;
	align-items: center;
	gap: 6px;
}

.demo-classic-menu .menu-item-type-wpzoom a {
	display: inline-flex;
	line-height: 1;
}

.demo-classic-menu .menu-item-type-wpzoom .social-icon {
	box-sizing: content-box;
	border-radius: 50%;
}

/* Style galleries: one small tile per style */
.demo-style-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 14px;
}

.demo-style-grid.is-share {
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.demo-style-grid > * {
	margin: 0 !important;
}

.demo-style-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 150px;
	padding: 22px 16px;
	background: #f1f1ee;
	border-radius: 12px;
}

.demo-style-card > * {
	margin: 0 !important;
}

.demo-style-name {
	font-size: 0.6875rem;
	font-weight: 650;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8d8d87;
}

/* "The icon comes from the link" */
.demo-detect {
	display: grid;
	gap: 6px;
	width: 100%;
	max-width: 400px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.8125rem;
}

.demo-detect li {
	display: grid;
	grid-template-columns: 1fr auto 92px;
	gap: 10px;
	align-items: center;
	padding: 8px 12px;
	background: var(--demo-paper);
	border-radius: 8px;
	box-shadow: 0 0 0 1px rgba(18, 18, 16, 0.06);
}

.demo-detect code {
	overflow: hidden;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	text-overflow: ellipsis;
	white-space: nowrap;
	background: none;
}

.demo-detect-name {
	font-weight: 600;
}

/* Chat */
.demo-pointer {
	padding: 10px 16px;
	font-size: 0.9375rem;
	font-weight: 600;
	background: var(--demo-paper);
	border-radius: 99px;
	box-shadow: 0 0 0 1px rgba(18, 18, 16, 0.06);
}

.demo-chat {
	display: grid;
	gap: 8px;
	width: 100%;
	max-width: 360px;
	font-size: 0.875rem;
}

.demo-chat-msg {
	max-width: 86%;
	padding: 9px 13px;
	background: var(--demo-paper);
	border-radius: 14px 14px 14px 4px;
	box-shadow: 0 0 0 1px rgba(18, 18, 16, 0.06);
}

.demo-chat-msg.is-visitor {
	justify-self: end;
	color: #fff;
	background: var(--demo-ink);
	border-radius: 14px 14px 4px 14px;
	box-shadow: none;
}

.demo-chat-msg.is-handoff {
	font-size: 0.8125rem;
	color: var(--demo-muted);
	background: var(--demo-brand-soft);
	box-shadow: none;
}

/* Links and odds and ends */
.demo-more {
	margin-top: 24px !important;
	font-weight: 550;
}

.demo-more a {
	text-decoration: none;
}

.demo-post-link a {
	display: inline-block;
	padding: 12px 20px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	background: var(--demo-ink);
	border-radius: 10px;
}

.demo-post-link a:hover {
	color: #fff;
	background: var(--demo-brand);
}

.demo-yes {
	font-weight: 700;
	color: var(--demo-free);
}

.demo-no {
	color: #b5b5b0;
}

.demo-compare-wrap {
	max-width: 820px;
	margin-inline: auto !important;
}

.wp-block-table.demo-compare thead {
	border-bottom: 0;
}
/* Comparison table -------------------------------------------------------- */

.demo-compare table {
	border-collapse: collapse;
	width: 100%;
	font-size: 0.9375rem;
}

.wp-block-table.demo-compare th,
.wp-block-table.demo-compare td {
	padding: 12px 14px;
	text-align: left;
	vertical-align: top;
	border: 0;
	border-bottom: 1px solid var(--demo-line);
}

.demo-compare thead th {
	font-size: 0.8125rem;
	color: var(--demo-muted);
	border-bottom-color: var(--demo-ink);
}

.demo-compare td:nth-child(n+2),
.demo-compare th:nth-child(n+2) {
	width: 90px;
	text-align: center;
}

.demo-compare .demo-group-row td {
	padding-top: 28px;
	font-weight: 700;
	border-bottom-color: var(--demo-ink);
}

/* Call to action band ----------------------------------------------------- */

.demo-cta {
	margin-top: var(--wp--preset--spacing--60) !important;
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
	text-align: center;
	color: #fff;
	background: var(--demo-ink);
	border-radius: var(--demo-radius);
}

.demo-cta h2 {
	color: #fff;
}

.demo-cta p {
	max-width: 560px;
	margin-inline: auto;
	color: rgba(255, 255, 255, 0.72);
}

.demo-cta .wp-block-buttons {
	justify-content: center;
}

.demo-cta .wp-block-button__link {
	color: var(--demo-ink);
	background: #fff;
}

.demo-cta .wp-block-button__link:hover {
	color: #fff;
	background: var(--demo-brand);
}

.demo-cta .is-style-outline > .wp-block-button__link {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.3);
}

.demo-cta .is-style-outline > .wp-block-button__link:hover {
	color: #fff;
	border-color: #fff;
	background: transparent;
}

/* Sample article ---------------------------------------------------------- */

.demo-article-head {
	padding-top: var(--wp--preset--spacing--50);
}

.demo-article-head h1 {
	font-size: clamp(2rem, 4.4vw, 2.75rem);
}

.demo-article-lede {
	font-size: var(--wp--preset--font-size--large);
	color: var(--demo-muted);
}

.demo-byline {
	gap: 4px 14px;
	font-size: 0.875rem;
	color: var(--demo-muted);
}

.demo-article-image img {
	border-radius: 12px;
}

/* Notes beside the plugin output in the sample article */
.demo-note {
	padding: 14px 16px;
	font-size: 0.875rem;
	color: var(--demo-muted);
	background: var(--demo-soft);
	border-left: 3px solid var(--demo-brand);
	border-radius: 0 10px 10px 0;
}

.demo-note.is-free {
	border-left-color: var(--demo-free);
}

.demo-note strong {
	color: var(--demo-ink);
}

/* Footer ------------------------------------------------------------------ */

.demo-footer {
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--50);
	border-top: 1px solid var(--demo-line);
	font-size: 0.875rem;
}

.demo-footer-row {
	gap: 24px 48px;
}

.demo-footer-about {
	max-width: 460px;
}

.demo-footer-note {
	color: var(--demo-muted);
}

.demo-footer-links {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.demo-footer-links a {
	text-decoration: none;
	color: var(--demo-muted);
}

.demo-footer-links a:hover {
	color: var(--demo-ink);
}

.demo-footer-copy {
	margin-top: var(--wp--preset--spacing--40);
	font-size: 0.8125rem;
	color: var(--demo-muted);
}


/* Grid items: no block spacing on the second and later items */
.demo-cols > *,
.demo-team > *,
.demo-grid > *,
.demo-style-grid > * {
	margin: 0 !important;
}

/* Hero: real network icons scattered around the headline, faded toward the middle */
html,
body {
	overflow-x: clip;
}

.demo-hero {
	position: relative;
	isolation: isolate;
}

.demo-hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 50%;
	width: max(100vw, 1600px);
	transform: translateX(-50%);
	background: url(hero-icons.svg?v=2) center / auto 100% no-repeat;
	opacity: 0.22;
	-webkit-mask-image: radial-gradient(ellipse 50% 78% at 50% 50%, transparent 50%, #000 86%);
	mask-image: radial-gradient(ellipse 50% 78% at 50% 50%, transparent 50%, #000 86%);
	pointer-events: none;
}

@media (max-width: 760px) {
	.demo-hero::before {
		background-size: auto 100%;
		opacity: 0.16;
		-webkit-mask-image: linear-gradient(#000 0, transparent 22%, transparent 78%, #000 100%);
		mask-image: linear-gradient(#000 0, transparent 22%, transparent 78%, #000 100%);
	}
}

/* Home: one card per module, listing its demos ----------------------------- */

.demo-mods-section {
	margin-top: 8px !important;
}

.demo-mods {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

@media (max-width: 960px) {
	.demo-mods {
		grid-template-columns: minmax(0, 1fr);
	}
}

.demo-mod {
	display: flex;
	flex-direction: column;
	padding: 28px 28px 24px;
	background: var(--demo-paper);
	border: 1px solid var(--demo-line);
	border-radius: 14px;
}

.demo-mod-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 18px;
	color: var(--demo-ink);
	background: #f1f1ee;
	border-radius: 10px;
}

.demo-mod-icon svg {
	width: 22px;
	height: 22px;
}

.demo-mod h3 {
	margin: 0;
	font-size: 1.375rem;
}

.demo-mod > p {
	margin: 6px 0 0;
	font-size: 0.9375rem;
	color: var(--demo-muted);
}

.demo-mod-list {
	flex: 1;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--demo-line);
}

.demo-mod-list li {
	border-bottom: 1px solid var(--demo-line);
}

.demo-mod-list a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 11px 0;
	font-size: 0.9375rem;
	color: var(--demo-ink);
	text-decoration: none;
}

.demo-mod-list a:hover .demo-mod-name {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.demo-mod-name {
	flex: 1;
	min-width: 0;
}

.demo-page-mark {
	flex: none;
	width: 15px;
	height: 15px;
	color: #8d8d87;
}

.demo-mod-more {
	margin: 20px 0 0;
}

.demo-mod-more a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	background: var(--demo-ink);
	border-radius: 8px;
}

.demo-mod-more a:hover {
	color: #fff;
	background: var(--demo-brand);
}

.demo-mod-legend {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 14px 0 0;
	font-size: 0.8125rem;
	color: #8d8d87;
}

/* Full page demos: the intro above each one ------------------------------- */

.demo-intro {
	max-width: 760px;
	padding: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--40);
}

.demo-intro > * {
	margin: 0;
}

.demo-intro h1 {
	margin-top: 8px;
	font-size: clamp(2rem, 4.4vw, 2.75rem);
}

.demo-intro-back {
	margin-bottom: 22px;
	font-size: 0.875rem;
}

.demo-intro-back a {
	color: var(--demo-muted);
	text-decoration: none;
}

.demo-intro-text {
	margin-top: 12px;
	font-size: var(--wp--preset--font-size--large);
	color: var(--demo-muted);
}

.demo-intro-used {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.demo-intro-used li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 6px 5px 12px;
	font-size: 0.8125rem;
	background: #f1f1ee;
	border-radius: 99px;
}

.demo-intro-used .demo-badge {
	vertical-align: 0;
}

.demo-page-body {
	max-width: 760px;
}

.demo-page-body.is-wide {
	max-width: none;
}

.demo-page-body > * {
	margin-block: 0 !important;
}

.demo-page-body > * + * {
	margin-top: 32px !important;
}

/* Restaurant website */
.demo-rest-top {
	overflow: hidden;
	color: #f6efe3;
	background: #1f2a24;
	border-radius: 14px;
}

.demo-rest-bar {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 18px 28px;
	border-bottom: 1px solid rgba(246, 239, 227, 0.14);
}

.demo-rest-bar > * {
	margin: 0 !important;
}

.demo-rest-bar .wp-block-wpzoom-blocks-social-icons {
	flex: none;
	width: auto;
}

.demo-site-logo {
	font-size: 0.875rem;
	font-weight: 750;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.demo-fake-nav.is-light {
	color: rgba(246, 239, 227, 0.7);
}

.demo-rest-hero {
	padding: clamp(40px, 8vw, 88px) 28px;
}

.demo-rest-hero > *,
.demo-team-head > * {
	margin: 0 !important;
}

.demo-col-label.is-light {
	color: rgba(246, 239, 227, 0.6);
}

.demo-rest-title {
	max-width: 620px;
	margin-top: 10px !important;
	font-size: clamp(2rem, 5vw, 3.25rem);
	font-weight: 650;
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.demo-rest-lede {
	max-width: 520px;
	margin-top: 16px !important;
	font-size: 1.0625rem;
	color: rgba(246, 239, 227, 0.75);
}

.demo-rest-title.is-dark {
	color: var(--demo-ink);
}

.demo-rest-lede.is-dark {
	color: var(--demo-muted);
}

.demo-rest-info {
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: 32px;
	margin-top: 32px !important;
}

.demo-rest-info > *,
.demo-rest-col > * {
	margin: 0 !important;
}

.demo-rest-col > * + * {
	margin-top: 10px !important;
}

.demo-rest-text {
	font-size: 1rem;
	line-height: 1.55;
}

.demo-rest-footer {
	display: grid;
	gap: 14px;
	margin-top: 40px !important;
	padding-top: 28px;
	border-top: 1px solid var(--demo-line);
}

.demo-rest-footer > * {
	margin: 0 !important;
}

.demo-site-logo.is-dark {
	color: var(--demo-ink);
}

.demo-rest-copy {
	font-size: 0.8125rem;
	color: #8d8d87;
}

@media (max-width: 720px) {
	.demo-rest-info {
		grid-template-columns: minmax(0, 1fr);
	}

	.demo-rest-bar .demo-fake-nav {
		display: none;
	}

	.demo-rest-bar .wp-block-wpzoom-blocks-social-icons {
		margin-left: auto !important;
	}
}

/* Podcast episode */
.demo-cover.is-large {
	width: 160px;
	height: 160px;
	padding: 14px;
	font-size: 1.375rem;
}

.demo-ep.is-large {
	gap: 24px;
	align-items: flex-start;
}

.demo-ep-title.is-large {
	font-size: 1.75rem;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.demo-player.is-large {
	margin-top: 18px !important;
}

.demo-notes > * {
	margin-block: 0;
}

.demo-notes > * + * {
	margin-top: 12px;
}

.demo-author.is-boxed {
	padding: 22px;
	background: #f6f6f4;
	border-radius: 12px;
}

@media (max-width: 600px) {
	.demo-ep.is-large {
		flex-direction: column;
	}
}

/* Link-in-bio page */
.demo-bio-scene {
	max-width: 760px;
}

.demo-stage.is-tall {
	min-height: 640px;
}

.demo-monogram.is-large {
	width: 84px;
	height: 84px;
	font-size: 1.5rem;
}

.demo-phone.is-page {
	width: 360px;
}

/* Team page */
.demo-team.is-page {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: none;
}

.demo-team.is-page .demo-member {
	padding: 28px 12px 18px;
}

.demo-team.is-page .demo-person {
	width: 64px;
	height: 64px;
}

@media (max-width: 720px) {
	.demo-team.is-page {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.demo-team-company {
	margin-top: 48px !important;
}

/* Fake menus: spaced items */
.demo-fake-nav {
	display: flex;
	gap: 16px;
	word-spacing: normal;
}

/* Full page demos line up with the left edge of the page content */
.demo-main .demo-intro,
.demo-main .demo-page-body,
.demo-main .demo-bio-scene {
	margin-left: 0 !important;
	margin-right: auto !important;
}

/* Header: "Download Free" as a text link next to the one button */
.demo-header-cta {
	align-items: center;
	gap: 18px;
}

.demo-header-cta .is-style-text > .wp-block-button__link {
	padding: 0;
	font-weight: 550;
	color: var(--demo-muted);
	background: none;
	border: 0;
}

.demo-header-cta .is-style-text > .wp-block-button__link:hover {
	color: var(--demo-ink);
	background: none;
}

@media (max-width: 900px) {
	.demo-header-cta .is-style-text {
		display: none;
	}
}

/* Header actions: the same size as the menu links */
.demo-header-cta .wp-block-button__link {
	font-size: 0.9375rem;
}

/* On demo.wpzoom.com the network's "Browse demos" pill sits in the bottom-right
   corner; the chat button goes above it. */
body:has(#wpz-demobar-bubble) #wpzoom-ctc-widget.wpzoom-ctc--right {
	bottom: 76px;
}

/* Header dropdowns */
.demo-nav .wp-block-navigation__submenu-container {
	min-width: 250px !important;
	padding: 8px !important;
	background: var(--demo-paper) !important;
	border: 1px solid var(--demo-line) !important;
	border-radius: 12px;
	box-shadow: 0 16px 40px -18px rgba(18, 18, 16, 0.3);
}

.demo-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 7px 10px !important;
	font-size: 0.875rem;
	color: var(--demo-ink);
	border-radius: 7px;
}

.demo-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: #f1f1ee;
}

/* The first item opens the module page: set it apart */
.demo-nav .wp-block-navigation__submenu-container > li:first-child {
	margin-bottom: 4px;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--demo-line);
}

.demo-nav .wp-block-navigation__submenu-container > li:first-child .wp-block-navigation-item__content {
	font-weight: 600;
}

.demo-nav .current-menu-item > a,
.demo-nav .current-menu-ancestor > a {
	color: var(--demo-ink);
}

/* Jump links from the menu land below the sticky header */
.demo-scene[id],
.demo-section[id] {
	scroll-margin-top: 96px;
}

/* Magazine or blog (full page demo) ---------------------------------------- */

.demo-mast {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	padding: 22px 0 18px;
	border-bottom: 1px solid var(--demo-line);
}

.demo-mast > * {
	margin: 0 !important;
}

.demo-mast-date {
	font-size: 0.8125rem;
	color: var(--demo-muted);
}

.demo-mast-title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	text-align: center;
}

.demo-mast-title.is-small {
	font-size: 1.5rem;
	text-align: left;
	color: #fff;
}

.demo-mast .wp-block-wpzoom-blocks-social-icons {
	justify-self: end;
}

.demo-mast-nav {
	justify-content: center;
	margin: 0 !important;
	padding: 12px 0;
	font-size: 0.875rem;
	color: var(--demo-ink);
	border-bottom: 1px solid var(--demo-line);
	gap: 26px;
}

.demo-mag-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 48px;
	margin-top: 36px !important;
}

.demo-mag-body > *,
.demo-mag-main > *,
.demo-mag-side > * {
	margin: 0 !important;
}

.demo-mag-main > * + * {
	margin-top: 16px !important;
}

.demo-mag-headline {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.75rem, 3.6vw, 2.5rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.015em;
}

.demo-mag-image {
	aspect-ratio: 21 / 9;
	background: linear-gradient(135deg, #e4ded0, #cfc7b4);
	border-radius: 10px;
}

.demo-mag-side {
	align-self: start;
	position: sticky;
	top: 96px;
}

.demo-mag-side > * + * {
	margin-top: 14px !important;
}

.demo-mag-side-title {
	padding-bottom: 8px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-bottom: 2px solid var(--demo-ink);
}

.demo-mag-side > .demo-mag-side-title:not(:first-child) {
	margin-top: 32px !important;
}

.demo-mag-footer {
	display: grid;
	gap: 14px;
	margin-top: 56px !important;
	padding: 32px;
	background: #17171a;
	border-radius: 14px;
}

.demo-mag-footer > * {
	margin: 0 !important;
}

.demo-mag-footer .demo-rest-copy {
	color: #8d8d95;
}

@media (max-width: 900px) {
	.demo-mag-body {
		grid-template-columns: minmax(0, 1fr);
	}

	.demo-mag-side {
		position: static;
	}

	.demo-mast {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		text-align: center;
	}

	.demo-mast .wp-block-wpzoom-blocks-social-icons {
		justify-self: center;
	}

	.demo-mast-nav {
		flex-wrap: wrap;
		gap: 8px 18px;
	}
}

/* Narrow mock-ups: a header bar with many icons wraps them to a second row */
@container (max-width: 460px) {
	.demo-site-bar {
		flex-wrap: wrap;
	}

	.demo-site-bar .wp-block-wpzoom-blocks-social-icons {
		margin-left: -2px !important;
	}
}

/* Full page demos in a browser window ------------------------------------- */

.demo-browser {
	--demo-browser-pad: 40px;
	margin-top: 8px !important;
	overflow: clip;
	background: var(--demo-paper);
	border-radius: 12px;
	box-shadow:
		0 0 0 1px rgba(18, 18, 16, 0.08),
		0 2px 6px rgba(18, 18, 16, 0.04),
		0 40px 80px -36px rgba(18, 18, 16, 0.35);
}

.demo-browser > * {
	margin: 0 !important;
}

.demo-browser-bar {
	display: flex;
	align-items: center;
	gap: 16px;
	height: 44px;
	padding: 0 16px;
	background: #f3f3f1;
	border-bottom: 1px solid #e4e4e0;
}

.demo-browser-dots,
.demo-browser-space {
	display: flex;
	flex: 0 0 64px;
	gap: 7px;
}

.demo-browser-dots i {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ff5f57;
}

.demo-browser-dots i:nth-child(2) {
	background: #febc2e;
}

.demo-browser-dots i:nth-child(3) {
	background: #28c840;
}

.demo-browser-url {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex: 1;
	max-width: 520px;
	height: 28px;
	margin: 0 auto;
	overflow: hidden;
	font-size: 0.8125rem;
	color: #6b6b66;
	white-space: nowrap;
	text-overflow: ellipsis;
	background: #fff;
	border-radius: 7px;
	box-shadow: 0 0 0 1px rgba(18, 18, 16, 0.06);
}

.demo-browser-url svg {
	flex: none;
	width: 12px;
	height: 12px;
	color: #9a9a94;
}

.demo-browser-page {
	padding: 32px var(--demo-browser-pad) var(--demo-browser-pad);
}

.demo-browser-page > * {
	margin-block: 0 !important;
}

/* Inside the window, an article-width page sits in the middle */
.demo-main .demo-browser-page > .demo-page-body:not(.is-wide) {
	margin-inline: auto !important;
}

/* Bands that reach the window's edges: the restaurant's top, the magazine's footer */
.demo-browser-page > .demo-rest-top:first-child {
	margin: -32px calc(-1 * var(--demo-browser-pad)) 0 !important;
	border-radius: 0;
}

.demo-browser .demo-mag-footer {
	margin: 56px calc(-1 * var(--demo-browser-pad)) calc(-1 * var(--demo-browser-pad)) !important;
	border-radius: 0;
}

.demo-browser .demo-mast {
	padding-top: 4px;
}

@media (max-width: 720px) {
	.demo-browser {
		--demo-browser-pad: 18px;
	}

	.demo-browser-space {
		display: none;
	}

	.demo-browser-dots {
		flex-basis: auto;
	}
}

.demo-browser-page > * + * {
	margin-top: 36px !important;
}
