:root {
	--themeone-radius: 12px;
	--themeone-radius-sm: 10px;
	--themeone-shadow: 0 18px 50px rgba(31, 34, 48, 0.08);
	--themeone-border: rgba(139, 127, 214, 0.14);
	--themeone-motion-duration: 240ms;
	--themeone-motion-easing: cubic-bezier(0.2, 0.8, 0.2, 1);
}

body {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--ink);
}

.wp-site-blocks {
	overflow-x: clip;
}

@media (min-width: 782px) {
	/* Make wide blocks breathe closer to viewport edges. */
	.wp-site-blocks :where(.alignwide) {
		width: 92%;
		max-width: 1560px;
		margin-inline: auto;
	}
}

.yb-home-columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: var(--wp--preset--spacing--40);
	margin-top: var(--wp--preset--spacing--50);
	margin-bottom: var(--wp--preset--spacing--60);
}

.yb-home-col {
	min-width: 0;
	display: grid;
	align-content: start;
	gap: var(--wp--preset--spacing--40);
}

.yb-panel {
	border: 1px solid var(--themeone-border);
	border-radius: var(--themeone-radius);
	background: var(--wp--preset--color--surface);
	box-shadow: var(--themeone-shadow);
	padding: var(--wp--preset--spacing--40);
}

.yb-home-columns > .yb-home-col > .yb-panel {
	margin: 0;
	margin-block: 0;
}

/* If other columns are being pushed down by external block margins,
   match the offset so the three columns share the same top line. */
.yb-home-columns > .yb-home-col--left > .yb-panel:first-child {
	margin-top: 20px;
}

.yb-actions,
.yb-actions-row {
	gap: var(--wp--preset--spacing--20);
	display: flex;
	flex-wrap: wrap;
}

.yb-user-card__title {
	font-weight: 700;
	font-size: 1.05rem;
}

.yb-user-card__meta {
	margin-top: 0.25rem;
	color: var(--wp--preset--color--muted);
	font-size: 0.95rem;
}

.yb-user-card__row {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
}

.yb-user-card__avatar {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--ink) 10%, transparent);
}

.yb-user-card__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.yb-user-card__name a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.yb-user-card__info {
	min-width: 0;
	flex: 1 1 auto;
}

.yb-user-card__name {
	font-size: 1rem;
	font-weight: 700;
}

.yb-user-card__subtle {
	margin-top: 0.2rem;
	color: var(--wp--preset--color--muted);
	font-size: 0.88rem;
}

.yb-user-card__bio {
	margin-top: 0.15rem;
	color: var(--wp--preset--color--muted);
	font-size: 0.95rem;
}

.yb-user-card--rich {
	display: grid;
	gap: var(--wp--preset--spacing--30);
}

.yb-user-card__eyebrow {
	font-size: 0.74rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.yb-user-card__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--20);
	padding: 0.2rem;
	border-radius: 1rem;
	background: linear-gradient(180deg, color-mix(in srgb, var(--wp--preset--color--surface) 92%, white), color-mix(in srgb, var(--wp--preset--color--accent-soft) 30%, white));
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 8%, transparent);
}

.yb-user-card__stat {
	display: grid;
	gap: 0.15rem;
	padding: 0.7rem 0.75rem;
	border-radius: 0.85rem;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 92%, white);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.yb-user-card__stat-value {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.1;
	color: var(--wp--preset--color--ink);
}

.yb-user-card__stat-label,
.yb-user-card__section-label {
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.yb-user-card__section {
	display: grid;
	gap: 0.35rem;
	padding: 0.9rem 1rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 8%, transparent);
	border-radius: 1rem;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 96%, white);
}

.yb-user-card__sections {
	display: grid;
	gap: var(--wp--preset--spacing--20);
}

.yb-user-card__section-body {
	min-width: 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--wp--preset--color--ink);
}

.yb-user-card__section-body--title {
	font-weight: 600;
}

.yb-user-card__section-link {
	display: block;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	transition: color var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-user-card__section-link:hover,
.yb-user-card__section-link:focus-visible {
	color: var(--wp--preset--color--accent);
}

.yb-user-card__comment-author {
	font-weight: 600;
}

.yb-user-card__comment-excerpt,
.yb-user-card__section-body--title .yb-user-card__section-link {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.yb-user-card__empty {
	color: var(--wp--preset--color--muted);
}

@media (max-width: 640px) {
	.yb-user-card__stats {
		grid-template-columns: 1fr;
	}
}

.yb-user-card__links {
	margin-top: var(--wp--preset--spacing--30);
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex-wrap: wrap;
}

.yb-user-card__link {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	font-weight: 600;
}

.yb-user-card__sep {
	color: var(--wp--preset--color--muted);
}

.yb-user-card__actions {
	margin-top: var(--wp--preset--spacing--30);
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
}

.yb-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.75rem;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	color: var(--wp--preset--color--surface);
	background: var(--wp--preset--color--ink);
}

.yb-chip--muted {
	color: var(--wp--preset--color--ink);
	background: transparent;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--ink) 12%, transparent);
}

.yb-datetime__big {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
}

.yb-datetime__day {
	font-size: 2.4rem;
	line-height: 1;
	font-weight: 800;
	color: var(--wp--preset--color--accent);
}

.yb-datetime__month {
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	font-weight: 700;
}

.yb-datetime__meta {
	margin-top: 0.25rem;
	color: var(--wp--preset--color--muted);
	font-size: 0.95rem;
}

/* Sidebar recent comments: plain rows (not button cards).
   Line 1 = avatar + name + time, line 2 = one-line comment excerpt. */
.yb-comments {
	margin: 0;
	padding-left: 0;
	list-style: none;
}

.yb-comments__item {
	margin: 0;
}

.yb-comments__item + .yb-comments__item {
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 7%, transparent);
}

.yb-comments__link {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	column-gap: 0.5rem;
	row-gap: 0.25rem;
	padding: 0.55rem 0.35rem;
	border-radius: var(--themeone-radius-sm);
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	transition:
		background var(--themeone-motion-duration) var(--themeone-motion-easing),
		color var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-comments__avatar {
	grid-column: 1;
	grid-row: 1;
	display: block;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	overflow: hidden;
	background: color-mix(in srgb, var(--wp--preset--color--accent-soft) 40%, white);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--ink) 8%, transparent);
}

.yb-comments__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.yb-comments__meta {
	grid-column: 2;
	grid-row: 1;
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	min-width: 0;
}

.yb-comments__author {
	flex: 0 1 auto;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-weight: 650;
	font-size: 0.92rem;
	color: var(--wp--preset--color--ink);
	transition: color var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-comments__time {
	flex: 0 0 auto;
	margin-left: auto;
	font-size: 0.75rem;
	white-space: nowrap;
	color: var(--wp--preset--color--muted);
}

.yb-comments__excerpt {
	grid-column: 2;
	grid-row: 2;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--wp--preset--color--muted);
	font-size: 0.86rem;
	line-height: 1.4;
}

.yb-comments__link:hover,
.yb-comments__link:focus-visible {
	background: color-mix(in srgb, var(--wp--preset--color--accent-soft) 26%, transparent);
}

.yb-comments__link:hover .yb-comments__author,
.yb-comments__link:focus-visible .yb-comments__author {
	color: var(--wp--preset--color--accent);
}

.yb-comments__link:hover .yb-comments__excerpt,
.yb-comments__link:focus-visible .yb-comments__excerpt {
	color: color-mix(in srgb, var(--wp--preset--color--accent) 38%, var(--wp--preset--color--muted));
}

.yb-home-comments__heading {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--30);
}

.yb-empty {
	color: var(--wp--preset--color--muted);
}

@media (min-width: 1024px) {
	.yb-home-columns {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.2fr) minmax(0, 0.9fr);
		gap: var(--wp--preset--spacing--60);
	}

	.yb-home-latest__query .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.yb-panel .wp-block-shortcode {
	margin: 0;
}

.yb-panel .wp-block-shortcode > :first-child {
	margin-top: 0;
}

.yb-panel .wp-block-shortcode > :last-child {
	margin-bottom: 0;
}

.site-footer {
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 10%, var(--wp--preset--color--base));
}

.site-footer__right {
	margin-left: auto;
}

.yb-footer-meta {
	margin: 0;
	line-height: 1.4;
}

.yb-footer-meta {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.yb-footer-meta__link {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	transition:
		color var(--themeone-motion-duration) var(--themeone-motion-easing),
		opacity var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-footer-meta__link:hover,
.yb-footer-meta__link:focus-visible {
	color: var(--wp--preset--color--accent);
}

.yb-footer-meta__sep {
	color: var(--wp--preset--color--muted);
}

.yb-header-account {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--wp--preset--spacing--20);
	min-height: 2.25rem;
	color: var(--wp--preset--color--muted);
}

.yb-header-account__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--ink) 10%, transparent);
	transition:
		transform var(--themeone-motion-duration) var(--themeone-motion-easing),
		box-shadow var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-header-account__avatar:hover,
.yb-header-account__avatar:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--accent) 35%, transparent);
}

.yb-header-account__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 999px;
}

.yb-header-account__link {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	transition: color var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-header-account__link:hover,
.yb-header-account__link:focus-visible {
	color: var(--wp--preset--color--accent);
}

.yb-header-account__sep {
	color: var(--wp--preset--color--muted);
}

.site-branding p,
.section-kicker {
	margin: 0;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
}

.yb-home-latest .section-kicker {
	margin-bottom: var(--wp--preset--spacing--20);
}

.yb-home-latest__heading {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--40);
}

.yb-home-latest__query {
	margin-top: 0;
}

.yb-home-latest__query .wp-block-post-template {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--30);
	margin: 0;
	padding-left: 0;
	list-style: none;
}

@media (min-width: 782px) {
	.yb-home-latest__query .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.yb-home-latest__query .wp-block-post {
	margin: 0;
}

.post-card.yb-home-latest__card {
	border-radius: 0;
}

.yb-home-latest__card .wp-block-post-featured-image,
.yb-home-latest__card .wp-block-post-featured-image a,
.yb-home-latest__card .wp-block-post-featured-image img {
	border-radius: 0;
}

.yb-home-latest__card {
	position: relative;
	isolation: isolate;
	cursor: pointer;
	background:
		radial-gradient(circle at top left, rgba(139, 127, 214, 0.2), rgba(139, 127, 214, 0) 48%),
		linear-gradient(180deg, rgba(243, 238, 255, 0.94), rgba(248, 246, 242, 1) 48%, rgba(255, 255, 255, 1));
}

.yb-home-latest__card::before {
	content: "";
	position: absolute;
	inset: 0 0 50% 0;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
		linear-gradient(180deg, rgba(31, 34, 48, 0.12), rgba(31, 34, 48, 0));
	pointer-events: none;
	z-index: 0;
}

.yb-home-latest__card > * {
	position: relative;
	z-index: 1;
}

.hero-shell,
.about-mini,
.section-shell,
.post-card,
.work-card,
.empty-state,
.single-shell,
.page-shell {
	position: relative;
	border: 1px solid var(--themeone-border);
	border-radius: var(--themeone-radius);
	background: var(--wp--preset--color--surface);
	box-shadow: var(--themeone-shadow);
	overflow: hidden;
}

.hero-shell::before,
.about-mini::before,
.works-shell::before {
	content: "";
	position: absolute;
	inset: auto auto -35% -10%;
	width: 180px;
	height: 180px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(139, 127, 214, 0.18), rgba(139, 127, 214, 0));
	pointer-events: none;
}

.hero-illustration {
	display: grid;
	place-items: center;
	min-height: 320px;
	padding: 2rem;
	text-align: center;
	border-radius: 14px;
	background:
		radial-gradient(circle at top, rgba(255,255,255,0.85), rgba(255,255,255,0) 42%),
		linear-gradient(180deg, rgba(239, 234, 255, 0.95), rgba(248, 246, 242, 0.95));
	border: 1px solid rgba(139, 127, 214, 0.24);
}

.hero-illustration p:first-child {
	font-size: 4rem;
	line-height: 1;
	margin-bottom: 0.5rem;
	color: var(--wp--preset--color--accent);
}

.post-grid .wp-block-post-template,
.works-grid .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	padding-left: 0;
	list-style: none;
}

.latest-list .wp-block-post-template {
	display: grid;
	gap: 1rem;
	padding-left: 0;
	list-style: none;
}

.post-card,
.work-card,
.empty-state {
	height: 100%;
	padding: 1.25rem;
}

.post-card .wp-block-post-featured-image,
.work-card__media {
	margin-bottom: 1rem;
	border-radius: 10px;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(239, 234, 255, 1), rgba(248, 246, 242, 1));
	min-height: 220px;
}

.work-card__media {
	position: relative;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
	border: 1px dashed rgba(139, 127, 214, 0.32);
}

.work-card__media::before {
	content: "No Cover Yet";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--wp--preset--color--muted);
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	pointer-events: none;
}

.work-card__media .wp-block-post-featured-image {
	position: relative;
	z-index: 1;
	margin: 0;
	width: 100%;
}

.work-card__media .wp-block-post-featured-image img,
.post-card .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-meta {
	gap: 0.5rem 1rem;
	font-size: 0.9rem;
	color: var(--wp--preset--color--muted);
}

.post-card .wp-block-post-excerpt__excerpt {
	margin-bottom: 0;
	color: rgba(31, 34, 48, 0.86);
}

.yb-featured-one__card,
.yb-latest-one__card {
	display: grid;
	grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
	padding: 0;
	height: 18rem;
	min-height: 18rem;
	max-height: 18rem;
	overflow: hidden;
}

/* Override Gutenberg constrained layout inside the card so the image can span edge-to-edge. */
.yb-featured-one__card.wp-block-group > *,
.yb-latest-one__card.wp-block-group > * {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	margin-inline: 0;
	width: 100%;
}

.yb-featured-one .wp-block-post-template,
.yb-latest-one .wp-block-post-template {
	margin: 0;
	padding-left: 0;
	list-style: none;
}

.yb-featured-one .wp-block-post,
.yb-latest-one .wp-block-post {
	margin: 0;
}

.yb-featured-one__card .wp-block-post-featured-image,
.yb-latest-one__card .wp-block-post-featured-image {
	justify-self: stretch;
	align-self: stretch;
	height: 100%;
	min-height: 0;
	margin: 0;
	margin-bottom: 0;
	border-radius: 0;
	background: var(--wp--preset--color--accent-soft);
}

.yb-featured-one__card .wp-block-post-featured-image a,
.yb-latest-one__card .wp-block-post-featured-image a,
.yb-featured-one__card .wp-block-post-featured-image img,
.yb-latest-one__card .wp-block-post-featured-image img {
	border-radius: 0;
}

.yb-featured-one__card .wp-block-post-featured-image a,
.yb-latest-one__card .wp-block-post-featured-image a,
.yb-featured-one__card .wp-block-post-featured-image img,
.yb-latest-one__card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
}

.yb-featured-one__card .wp-block-post-featured-image img,
.yb-latest-one__card .wp-block-post-featured-image img {
	object-fit: cover;
	object-position: center;
}

.yb-featured-one__card .post-card__body,
.yb-latest-one__card .post-card__body {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 0.3rem;
	padding: 0.32rem clamp(1rem, 2vw, 1.6rem) clamp(1rem, 1.8vw, 1.35rem);
	min-height: 0;
	overflow: hidden;
	text-align: left;
}

.yb-featured-one__card .post-card__body > :first-child,
.yb-latest-one__card .post-card__body > :first-child {
	margin-top: 0;
}

.yb-featured-one__card .wp-block-post-title,
.yb-latest-one__card .wp-block-post-title {
	margin: 0;
	line-height: 1.18;
	text-align: left;
	width: 100%;
	align-self: stretch;
}

.yb-featured-one__card .wp-block-post-title a,
.yb-latest-one__card .wp-block-post-title a {
	display: block;
	width: 100%;
	text-decoration: none;
	color: var(--wp--preset--color--ink);
	font-size: clamp(1.35rem, 1.6vw, 1.7rem);
	text-align: left;
}

.yb-featured-one__card .post-meta,
.yb-latest-one__card .post-meta,
.yb-latest-one__card .wp-block-post-date {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.9rem;
	text-align: left;
	width: 100%;
	align-self: stretch;
}

.yb-featured-one__card .post-meta,
.yb-latest-one__card .post-meta {
	justify-content: flex-start;
	align-items: center;
	gap: 0.35rem 0.7rem;
	margin-top: -0.05rem;
}

.yb-featured-one__card .post-meta .wp-block-shortcode,
.yb-latest-one__card .post-meta .wp-block-shortcode {
	margin: 0;
	line-height: 1;
}

.yb-post-author {
	display: inline-flex;
	align-items: center;
}

.yb-post-author__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: inherit;
	text-decoration: none;
}

.yb-post-author__avatar {
	width: 18px;
	height: 18px;
	border-radius: 999px;
	object-fit: cover;
}

.yb-post-author__name {
	line-height: 1;
}

.yb-featured-one__card .wp-block-post-excerpt,
.yb-latest-one__card .wp-block-post-excerpt {
	margin: 0;
	width: 100%;
	align-self: stretch;
	text-align: left;
}

.yb-featured-one__card .wp-block-post-excerpt__excerpt,
.yb-latest-one__card .wp-block-post-excerpt__excerpt {
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-align: left;
}

.yb-home-latest__card .post-card__body {
	position: relative;
	justify-content: flex-start;
	align-items: stretch;
	gap: var(--wp--preset--spacing--20);
	min-height: 0;
	overflow: hidden;
}

.yb-home-latest__card .wp-block-post-title,
.yb-home-latest__card .post-meta,
.yb-home-latest__card .wp-block-post-excerpt {
	overflow: hidden;
	transition:
		opacity var(--themeone-motion-duration) var(--themeone-motion-easing),
		transform var(--themeone-motion-duration) var(--themeone-motion-easing),
		max-height var(--themeone-motion-duration) var(--themeone-motion-easing),
		visibility var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-home-latest__card .wp-block-post-title {
	max-height: 5rem;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	font-size: clamp(1.35rem, 1.6vw, 1.7rem);
}

.yb-home-latest__card .wp-block-post-title {
	display: block;
	width: 100%;
	line-height: 1.18;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.yb-home-latest__card .wp-block-post-title a {
	display: inline;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.yb-home-latest__card .post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	max-height: 2.5rem;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.yb-home-latest__card .post-meta > * {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.yb-home-latest__card .wp-block-post-date,
.yb-home-latest__card .wp-block-post-terms,
.yb-home-latest__card .yb-post-author,
.yb-home-latest__card .yb-post-author__name {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.yb-home-latest__card .yb-post-author--plain,
.yb-home-latest__card .yb-home-latest__terms-plain {
	pointer-events: none;
}

.yb-home-latest__card .wp-block-post-featured-image {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at top left, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 42%),
		linear-gradient(135deg, rgba(139, 127, 214, 0.28), rgba(248, 246, 242, 0.9));
}

.yb-home-latest__card .wp-block-post-featured-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 54%),
		radial-gradient(circle at bottom right, rgba(31, 34, 48, 0.12), rgba(31, 34, 48, 0) 52%);
	pointer-events: none;
}

.yb-home-latest__card .wp-block-post-excerpt {
	margin: 0;
	max-height: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(0.5rem);
}

.yb-home-latest__card .wp-block-post-excerpt__excerpt {
	-webkit-line-clamp: 4;
}


.yb-home-latest__card .wp-block-post-title a:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.92);
	outline-offset: -2px;
}

@media (min-width: 782px) and (hover: hover) and (pointer: fine) {
	.yb-home-latest__card:hover .wp-block-post-title,
	.yb-home-latest__card:hover .post-meta {
		max-height: 0;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(-0.5rem);
	}

	.yb-home-latest__card:hover .wp-block-post-excerpt {
		max-height: 7.5rem;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
	}
}

.read-more-link,
.wp-block-read-more {
	font-weight: 600;
	text-decoration: none;
}

.yb-latest-one__card .read-more-link {
	margin-top: auto;
}

.post-card-featured .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card-latest .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.works-empty {
	min-height: 220px;
	display: grid;
	place-items: center;
	text-align: center;
	background:
		radial-gradient(circle at top right, rgba(139, 127, 214, 0.18), rgba(139, 127, 214, 0) 35%),
		var(--wp--preset--color--surface);
}

.empty-state-featured {
	padding: 2rem;
	text-align: center;
}

.archive-shell,
.single-shell,
.page-shell {
	padding-left: clamp(1.25rem, 3vw, 2rem);
	padding-right: clamp(1.25rem, 3vw, 2rem);
}

.single-shell .wp-block-post-featured-image,
.page-shell .wp-block-post-featured-image {
	margin: 1.5rem 0 2rem;
	overflow: hidden;
	border-radius: 12px;
}

.is-reveal {
	transition:
		opacity var(--themeone-motion-duration) var(--themeone-motion-easing),
		transform var(--themeone-motion-duration) var(--themeone-motion-easing);
	}

html.has-reveal-motion .is-reveal:not(.is-visible) {
	opacity: 0;
	transform: translateY(12px);
}

.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.is-float-hover {
	transition: transform var(--themeone-motion-duration) var(--themeone-motion-easing), box-shadow var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.is-float-hover:hover,
.is-float-hover:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 22px 60px rgba(31, 34, 48, 0.12);
}

@media (max-width: 900px) {
	.post-grid .wp-block-post-template,
	.works-grid .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.post-grid .wp-block-post-template,
	.works-grid .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr);
	}

	.yb-home-latest {
		padding: var(--wp--preset--spacing--30);
	}

	.yb-home-latest__heading {
		margin-bottom: var(--wp--preset--spacing--30);
	}

	.site-footer__right {
		margin-left: 0;
		width: 100%;
	}

	.hero-illustration {
		min-height: 220px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.is-reveal,
	.is-visible,
	.is-float-hover {
		transition: none;
		transform: none;
	}

	.is-reveal {
		opacity: 1;
	}
}

/* ==========================================================================
   Reading page (single post)
   ========================================================================== */

html {
	scroll-behavior: smooth;
}

/* ---------------------------------------------------------------- hero */

.yb-read-hero.wp-block-cover {
	align-items: flex-end;
	justify-content: flex-start;
	background-image: linear-gradient(135deg, #2b2842, #1f2230 55%, #3b3560);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.yb-read-hero .wp-block-cover__image-background {
	animation: yb-hero-zoom 1.4s var(--themeone-motion-easing) both;
}

.yb-read-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 38%;
	background: linear-gradient(180deg, rgba(20, 18, 34, 0), rgba(20, 18, 34, 0.55));
	pointer-events: none;
	z-index: 1;
}

.yb-read-hero > .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
}

.yb-read-hero__inner {
	display: grid;
	justify-items: start;
	gap: 0.55rem;
	padding: clamp(3.5rem, 12vh, 6.5rem) 0 clamp(2.75rem, 8vh, 4.5rem);
	color: #fff;
}

.yb-read-hero__title {
	margin: 0.35rem 0 0.4rem;
	color: #fff;
	font-size: clamp(1.75rem, 4.2vw, 3rem);
	line-height: 1.24;
	text-wrap: balance;
	text-shadow: 0 3px 26px rgba(15, 14, 26, 0.45);
}

.yb-read-hero__terms {
	margin: 0;
}

.yb-read-hero__terms a {
	display: inline-block;
	padding: 0.28rem 0.8rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-decoration: none;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition:
		background var(--themeone-motion-duration) var(--themeone-motion-easing),
		border-color var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-read-hero__terms a:hover,
.yb-read-hero__terms a:focus-visible {
	background: rgba(255, 255, 255, 0.3);
	border-color: rgba(255, 255, 255, 0.55);
}

.yb-read-hero__terms .wp-block-post-terms__separator {
	display: none;
}

.yb-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.84rem;
	color: rgba(255, 255, 255, 0.7);
}

.yb-breadcrumb__link {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-breadcrumb__link:hover,
.yb-breadcrumb__link:focus-visible {
	border-bottom-color: currentColor;
}

.yb-breadcrumb__sep {
	opacity: 0.55;
}

.yb-breadcrumb__current {
	max-width: 18em;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	opacity: 0.75;
}

.yb-read-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.5rem;
	margin-top: 0.35rem;
	font-size: 0.84rem;
	color: rgba(255, 255, 255, 0.78);
}

.yb-read-meta__author {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.yb-read-meta__avatar {
	width: 26px;
	height: 26px;
	border-radius: 999px;
	object-fit: cover;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.yb-read-meta__author:hover .yb-read-meta__name {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.yb-read-meta__item--link {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.yb-read-meta__item--link:hover {
	color: #fff;
	border-bottom-color: currentColor;
}

.yb-read-meta__sep {
	opacity: 0.45;
}

/* ---------------------------------------------------------------- body */

.yb-read-body {
	margin-top: 0;
}

/* Specificity is raised on purpose: the layout support CSS uses
   `:root :where(.is-layout-constrained) > :first-child` (0,2,0) to zero the
   top margin of first children. */
.wp-block-group.yb-read-body > .yb-read-content {
	position: relative;
	z-index: 3;
	margin-block-start: calc(-1 * clamp(2rem, 6vw, 3.5rem));
	margin-top: calc(-1 * clamp(2rem, 6vw, 3.5rem));
	padding: clamp(1.35rem, 4vw, 3rem);
	border: 1px solid var(--themeone-border);
	border-radius: 20px;
	background: var(--wp--preset--color--surface);
	box-shadow: 0 26px 60px rgba(31, 34, 48, 0.1);
}

.yb-read-section {
	margin-top: clamp(2rem, 5vw, 3rem);
}

/* --------------------------------------------------------- post content */

.wp-block-post-content {
	font-size: 1.06rem;
	line-height: 1.85;
	letter-spacing: 0.01em;
}

.wp-block-post-content > :first-child {
	margin-block-start: 0;
}

.wp-block-post-content :is(h2, h3, h4, h5, h6) {
	scroll-margin-top: 110px;
}

.wp-block-post-content h2 {
	position: relative;
	margin-block: clamp(2rem, 4vw, 2.6rem) 1rem;
	padding-left: 0.9rem;
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	line-height: 1.35;
}

.wp-block-post-content h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.12em;
	bottom: 0.12em;
	width: 4px;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--wp--preset--color--accent), color-mix(in srgb, var(--wp--preset--color--accent) 35%, white));
}

.wp-block-post-content h3 {
	margin-block: clamp(1.5rem, 3vw, 2rem) 0.7rem;
	font-size: clamp(1.15rem, 1.9vw, 1.35rem);
}

.wp-block-post-content h3::after {
	content: "";
	display: block;
	width: 36px;
	height: 2px;
	margin-top: 0.5rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--accent) 55%, transparent);
}

.wp-block-post-content h4 {
	margin-block: 1.4rem 0.6rem;
	font-size: 1.08rem;
}

.wp-block-post-content a {
	color: color-mix(in srgb, var(--wp--preset--color--accent) 88%, var(--wp--preset--color--ink));
	text-decoration: none;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 38%, transparent);
	transition:
		color var(--themeone-motion-duration) var(--themeone-motion-easing),
		border-color var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.wp-block-post-content a:hover,
.wp-block-post-content a:focus-visible {
	color: var(--wp--preset--color--accent);
	border-bottom-color: currentColor;
}

.wp-block-post-content :is(ul, ol) {
	padding-left: 1.35rem;
}

.wp-block-post-content li + li {
	margin-top: 0.35rem;
}

.wp-block-post-content li::marker {
	color: var(--wp--preset--color--accent);
}

.wp-block-post-content blockquote,
.wp-block-post-content .wp-block-quote {
	margin: 1.7rem 0;
	padding: 1.1rem 1.35rem;
	border: 0;
	border-left: 4px solid color-mix(in srgb, var(--wp--preset--color--accent) 75%, white);
	border-radius: 0 14px 14px 0;
	background: linear-gradient(90deg, color-mix(in srgb, var(--wp--preset--color--accent-soft) 70%, white), color-mix(in srgb, var(--wp--preset--color--surface) 88%, white));
	color: color-mix(in srgb, var(--wp--preset--color--ink) 88%, var(--wp--preset--color--muted));
	font-style: normal;
}

.wp-block-post-content blockquote p {
	margin: 0;
}

.wp-block-post-content blockquote p + p {
	margin-top: 0.7rem;
}

.wp-block-post-content blockquote cite {
	display: block;
	margin-top: 0.65rem;
	font-size: 0.85rem;
	font-style: normal;
	color: var(--wp--preset--color--muted);
}

.wp-block-post-content :not(pre) > code {
	padding: 0.15em 0.45em;
	border-radius: 6px;
	background: color-mix(in srgb, var(--wp--preset--color--accent-soft) 62%, white);
	color: color-mix(in srgb, var(--wp--preset--color--accent) 62%, var(--wp--preset--color--ink));
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

.yb-code-wrap {
	position: relative;
	margin-block: 1.7rem;
}

.wp-block-post-content pre {
	margin: 0;
	padding: 1.15rem 1.25rem;
	border-radius: 14px;
	background: #23253a;
	color: #f3f1ff;
	overflow: auto;
	font-size: 0.9rem;
	line-height: 1.65;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.wp-block-post-content pre code {
	background: none;
	color: inherit;
	padding: 0;
	font-size: inherit;
}

.yb-code-copy {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	padding: 0.28rem 0.72rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 0.74rem;
	cursor: pointer;
	opacity: 0;
	transition:
		opacity var(--themeone-motion-duration) var(--themeone-motion-easing),
		background var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-code-wrap:hover .yb-code-copy,
.yb-code-copy:focus-visible,
.yb-code-copy.is-done {
	opacity: 1;
}

.yb-code-copy.is-done {
	background: color-mix(in srgb, var(--wp--preset--color--accent) 80%, transparent);
	border-color: transparent;
}

.wp-block-post-content .wp-block-image {
	margin-block: 1.8rem;
}

.wp-block-post-content .wp-block-image img {
	border-radius: 14px;
	box-shadow: 0 18px 42px rgba(31, 34, 48, 0.12);
	transition:
		transform var(--themeone-motion-duration) var(--themeone-motion-easing),
		box-shadow var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.wp-block-post-content .wp-block-image:hover img {
	transform: translateY(-3px);
	box-shadow: 0 26px 54px rgba(31, 34, 48, 0.18);
}

.wp-block-post-content figcaption {
	margin-top: 0.6rem;
	font-size: 0.84rem;
	color: var(--wp--preset--color--muted);
}

.wp-block-post-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.wp-block-post-content :is(th, td) {
	padding: 0.7rem 0.9rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 10%, transparent);
	text-align: left;
}

.wp-block-post-content th {
	background: color-mix(in srgb, var(--wp--preset--color--accent-soft) 55%, white);
}

.wp-block-post-content tbody tr:nth-child(even) {
	background: color-mix(in srgb, var(--wp--preset--color--base) 70%, white);
}

.wp-block-post-content hr {
	margin-block: 2.4rem;
	border: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--themeone-border), transparent);
}

.wp-block-post-content :is(kbd, .wp-block-post-content mark) {
	padding: 0.1em 0.4em;
	border-radius: 6px;
}

.wp-block-post-content mark {
	background: color-mix(in srgb, var(--wp--preset--color--accent-soft) 80%, white);
}

/* --------------------------------------------------------- article footer */

.yb-read-footer {
	display: grid;
	gap: 1.1rem;
	margin-top: clamp(2.2rem, 5vw, 3rem);
	padding-top: clamp(1.5rem, 3vw, 2rem);
	border-top: 1px solid var(--themeone-border);
}

.yb-read-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.yb-read-tags__label {
	font-size: 0.74rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.yb-read-tags__item {
	padding: 0.26rem 0.75rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--accent-soft) 62%, white);
	color: color-mix(in srgb, var(--wp--preset--color--accent) 72%, var(--wp--preset--color--ink));
	font-size: 0.82rem;
	text-decoration: none;
	transition:
		transform var(--themeone-motion-duration) var(--themeone-motion-easing),
		background var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-read-tags__item:hover,
.yb-read-tags__item:focus-visible {
	transform: translateY(-2px);
	background: var(--wp--preset--color--accent-soft);
}

.yb-read-license {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	padding: 1rem 1.15rem;
	border: 1px solid var(--themeone-border);
	border-radius: 14px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--wp--preset--color--accent-soft) 42%, white), color-mix(in srgb, var(--wp--preset--color--base) 85%, white));
}

.yb-read-license__badge {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: linear-gradient(135deg, var(--wp--preset--color--accent), color-mix(in srgb, var(--wp--preset--color--accent) 55%, #ff9ecb));
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.yb-read-license__line {
	margin: 0;
	font-size: 0.9rem;
}

.yb-read-license__line--muted {
	margin-top: 0.2rem;
	font-size: 0.84rem;
	color: var(--wp--preset--color--muted);
}

.yb-read-license__line a {
	color: color-mix(in srgb, var(--wp--preset--color--accent) 85%, var(--wp--preset--color--ink));
	text-decoration: none;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
}

.yb-read-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.7rem;
}

.yb-like,
.yb-share {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.62rem 1.1rem;
	border: 1px solid var(--themeone-border);
	border-radius: 999px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	font-size: 0.92rem;
	font-weight: 600;
	cursor: pointer;
	transition:
		transform var(--themeone-motion-duration) var(--themeone-motion-easing),
		box-shadow var(--themeone-motion-duration) var(--themeone-motion-easing),
		background var(--themeone-motion-duration) var(--themeone-motion-easing),
		border-color var(--themeone-motion-duration) var(--themeone-motion-easing),
		color var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-like:hover,
.yb-like:focus-visible,
.yb-share:hover,
.yb-share:focus-visible {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent);
	box-shadow: 0 14px 28px rgba(139, 127, 214, 0.2);
}

.yb-like__icon,
.yb-share__icon {
	width: 18px;
	height: 18px;
	color: color-mix(in srgb, var(--wp--preset--color--accent) 75%, var(--wp--preset--color--muted));
	transition:
		color var(--themeone-motion-duration) var(--themeone-motion-easing),
		transform var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-like__count {
	font-variant-numeric: tabular-nums;
	opacity: 0.8;
}

.yb-like.is-liked {
	border-color: transparent;
	background: linear-gradient(135deg, var(--wp--preset--color--accent), color-mix(in srgb, var(--wp--preset--color--accent) 45%, #ff8fb8));
	color: #fff;
}

.yb-like.is-liked .yb-like__icon {
	color: #fff;
	animation: yb-heart-pop 0.45s var(--themeone-motion-easing);
}

.yb-like.is-liked .yb-like__count {
	opacity: 0.92;
}

.yb-like.is-busy {
	opacity: 0.72;
	cursor: progress;
}

.yb-read-toast {
	position: fixed;
	left: 50%;
	bottom: 2.4rem;
	z-index: 70;
	margin: 0;
	padding: 0.55rem 1.15rem;
	border-radius: 999px;
	background: rgba(31, 34, 48, 0.92);
	color: #fff;
	font-size: 0.85rem;
	opacity: 0;
	transform: translate(-50%, 12px);
	transition:
		opacity var(--themeone-motion-duration) var(--themeone-motion-easing),
		transform var(--themeone-motion-duration) var(--themeone-motion-easing);
	pointer-events: none;
}

.yb-read-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* ------------------------------------------------------ prev / next cards */

.yb-read-nav {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.yb-read-nav__card {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 158px;
	padding: 1.15rem 1.25rem;
	border-radius: 16px;
	overflow: hidden;
	isolation: isolate;
	background: linear-gradient(135deg, #2b2842, #3c3560);
	color: #fff;
	text-decoration: none;
	transition:
		transform var(--themeone-motion-duration) var(--themeone-motion-easing),
		box-shadow var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-read-nav__card:hover,
.yb-read-nav__card:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 24px 44px rgba(31, 34, 48, 0.22);
}

.yb-read-nav__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: linear-gradient(135deg, #3a3560, #23253a);
	background-size: cover;
	background-position: center;
	opacity: 0.55;
	transform: scale(1.02);
	transition:
		opacity 0.35s var(--themeone-motion-easing),
		transform 0.6s var(--themeone-motion-easing);
}

.yb-read-nav__card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(20, 18, 34, 0.15), rgba(20, 18, 34, 0.8));
}

.yb-read-nav__card:hover .yb-read-nav__bg,
.yb-read-nav__card:focus-visible .yb-read-nav__bg {
	opacity: 0.7;
	transform: scale(1.08);
}

.yb-read-nav__body {
	display: grid;
	gap: 0.35rem;
}

.yb-read-nav__label {
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.78;
}

.yb-read-nav__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.45;
}

.yb-read-nav__meta {
	font-size: 0.78rem;
	opacity: 0.72;
}

.yb-read-nav__card--next {
	justify-content: flex-end;
	text-align: right;
}

.yb-read-nav__card--next .yb-read-nav__body {
	justify-items: end;
}

/* ---------------------------------------------------------- related posts */

.yb-related__heading {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1.1rem;
	font-size: 1.2rem;
}

.yb-related__heading::before {
	content: "";
	width: 4px;
	height: 1.05em;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--wp--preset--color--accent), color-mix(in srgb, var(--wp--preset--color--accent) 35%, white));
}

.yb-related__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.yb-related__card {
	display: grid;
	gap: 0.75rem;
	border: 1px solid var(--themeone-border);
	border-radius: 16px;
	overflow: hidden;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	box-shadow: 0 12px 30px rgba(31, 34, 48, 0.06);
	transition:
		transform var(--themeone-motion-duration) var(--themeone-motion-easing),
		box-shadow var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-related__card:hover,
.yb-related__card:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 24px 44px rgba(31, 34, 48, 0.14);
}

.yb-related__thumb {
	display: block;
	aspect-ratio: 16 / 9;
	background-image: linear-gradient(135deg, color-mix(in srgb, var(--wp--preset--color--accent-soft) 85%, white), color-mix(in srgb, var(--wp--preset--color--base) 90%, white));
	background-size: cover;
	background-position: center;
}

.yb-related__body {
	display: grid;
	gap: 0.35rem;
	padding: 0 0.95rem 1rem;
}

.yb-related__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-weight: 650;
	line-height: 1.5;
}

.yb-related__meta {
	font-size: 0.78rem;
	color: var(--wp--preset--color--muted);
}

/* --------------------------------------------------------------- comments */

.yb-comments-area {
	margin-top: clamp(2rem, 5vw, 3rem);
}

.yb-comments-area__header {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	margin-bottom: 1.3rem;
}

.yb-comments-area__title {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	font-size: 1.25rem;
}

.yb-comments-area__count {
	display: inline-grid;
	place-items: center;
	min-width: 1.75rem;
	padding: 0.08rem 0.5rem;
	border-radius: 999px;
	background: var(--wp--preset--color--accent-soft);
	color: color-mix(in srgb, var(--wp--preset--color--accent) 78%, var(--wp--preset--color--ink));
	font-size: 0.8rem;
	font-weight: 700;
}

.yb-comments-area__closed {
	color: var(--wp--preset--color--muted);
}

.yb-comment-list,
.yb-comment-list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.yb-comment-list .children {
	margin-top: 1rem;
	margin-left: clamp(0.6rem, 3vw, 1.75rem);
	padding-left: clamp(0.6rem, 2vw, 1.1rem);
	border-left: 2px solid color-mix(in srgb, var(--wp--preset--color--accent) 22%, transparent);
}

.yb-comment-list > li {
	margin-bottom: 1rem;
}

.yb-comment-list .comment-body {
	position: relative;
	padding: 1rem 1.15rem;
	border: 1px solid var(--themeone-border);
	border-radius: 14px;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 94%, white);
	transition:
		box-shadow var(--themeone-motion-duration) var(--themeone-motion-easing),
		border-color var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-comment-list .comment-body:hover {
	box-shadow: 0 16px 36px rgba(31, 34, 48, 0.09);
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 26%, transparent);
}

.yb-comment-list .comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.75rem;
	margin-bottom: 0.6rem;
}

.yb-comment-list .comment-author {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.yb-comment-list .comment-author .avatar {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--wp--preset--color--accent-soft) 80%, white);
}

.yb-comment-list .comment-author .fn {
	font-style: normal;
	font-weight: 700;
	font-size: 0.95rem;
}

.yb-comment-list .comment-author .says {
	display: none;
}

.yb-comment-list .comment-metadata {
	margin-left: auto;
	font-size: 0.78rem;
	color: var(--wp--preset--color--muted);
}

.yb-comment-list .comment-metadata a {
	color: inherit;
	text-decoration: none;
}

.yb-comment-list .comment-metadata a:hover {
	color: var(--wp--preset--color--accent);
}

.yb-comment-list .comment-content {
	font-size: 0.96rem;
	line-height: 1.75;
}

.yb-comment-list .comment-content > * + * {
	margin-top: 0.8rem;
}

.yb-comment-list .reply {
	margin-top: 0.7rem;
}

.yb-comment-list .comment-reply-link {
	display: inline-flex;
	align-items: center;
	padding: 0.26rem 0.75rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--accent-soft) 55%, white);
	color: color-mix(in srgb, var(--wp--preset--color--accent) 78%, var(--wp--preset--color--ink));
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
	transition:
		transform var(--themeone-motion-duration) var(--themeone-motion-easing),
		background var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-comment-list .comment-reply-link:hover {
	transform: translateY(-1px);
	background: var(--wp--preset--color--accent-soft);
}

.yb-comment-list .bypostauthor > .comment-body {
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 38%, transparent);
}

.yb-comment-pagination {
	margin: 1.4rem 0;
}

.yb-comment-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.1rem;
	height: 2.1rem;
	margin-right: 0.35rem;
	padding: 0 0.5rem;
	border-radius: 10px;
	border: 1px solid var(--themeone-border);
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.yb-comment-pagination .page-numbers.current {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--surface);
	border-color: transparent;
}

/* comment form */

.yb-comment-form {
	display: grid;
	gap: 0.9rem;
	margin-top: 1.5rem;
	padding: clamp(1rem, 3vw, 1.5rem);
	border: 1px solid var(--themeone-border);
	border-radius: 16px;
	background: color-mix(in srgb, var(--wp--preset--color--base) 72%, white);
}

.yb-comment-form p {
	margin: 0;
}

.yb-comment-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
}

.yb-comment-form :is(input[type="text"], input[type="email"], input[type="url"], textarea) {
	width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 12%, transparent);
	border-radius: 10px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	font: inherit;
	transition:
		border-color var(--themeone-motion-duration) var(--themeone-motion-easing),
		box-shadow var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-comment-form :is(input[type="text"], input[type="email"], input[type="url"], textarea):focus {
	outline: none;
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 60%, transparent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--wp--preset--color--accent-soft) 75%, transparent);
}

.yb-comment-form textarea {
	min-height: 130px;
	resize: vertical;
}

.yb-comment-form__submit {
	justify-self: start;
	padding: 0.72rem 1.6rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--wp--preset--color--accent), color-mix(in srgb, var(--wp--preset--color--accent) 62%, #6f63c4));
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 14px 28px rgba(139, 127, 214, 0.26);
	transition:
		transform var(--themeone-motion-duration) var(--themeone-motion-easing),
		box-shadow var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-comment-form__submit:hover,
.yb-comment-form__submit:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 20px 34px rgba(139, 127, 214, 0.32);
}

.yb-comment-form__notes,
.yb-comment-form .comment-form-cookies-consent {
	font-size: 0.8rem;
	color: var(--wp--preset--color--muted);
}

.yb-comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.yb-comment-form .comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
}

.comment-reply-title {
	margin: 0 0 0.6rem;
	font-size: 1.05rem;
}

.comment-reply-title small {
	margin-left: 0.6rem;
	font-size: 0.8rem;
}

.yb-comment-list .comment-respond {
	margin: 1rem 0 1.4rem;
}

/* ------------------------------------------------- reading progress / to top */

.yb-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 80;
	height: 3px;
	background: color-mix(in srgb, var(--wp--preset--color--ink) 6%, transparent);
	pointer-events: none;
}

.yb-progress__bar {
	display: block;
	width: 100%;
	height: 100%;
	transform: scaleX(0);
	transform-origin: 0 50%;
	background: linear-gradient(90deg, var(--wp--preset--color--accent), color-mix(in srgb, var(--wp--preset--color--accent) 40%, #ff9ecb));
	transition: transform 0.12s linear;
}

.yb-to-top {
	position: fixed;
	right: clamp(0.9rem, 2.5vw, 2rem);
	bottom: clamp(0.9rem, 3vh, 2rem);
	z-index: 60;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--themeone-border);
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 88%, transparent);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: var(--themeone-shadow);
	color: var(--wp--preset--color--ink);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition:
		opacity var(--themeone-motion-duration) var(--themeone-motion-easing),
		transform var(--themeone-motion-duration) var(--themeone-motion-easing),
		visibility var(--themeone-motion-duration) var(--themeone-motion-easing),
		box-shadow var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.yb-to-top:hover {
	box-shadow: 0 18px 34px rgba(139, 127, 214, 0.26);
}

.yb-to-top__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.yb-to-top__ring-track {
	stroke: color-mix(in srgb, var(--wp--preset--color--ink) 10%, transparent);
}

.yb-to-top__ring-value {
	stroke: var(--wp--preset--color--accent);
	stroke-linecap: round;
	transition: stroke-dashoffset 0.12s linear;
}

.yb-to-top__arrow {
	position: relative;
	width: 20px;
	height: 20px;
	color: color-mix(in srgb, var(--wp--preset--color--accent) 72%, var(--wp--preset--color--ink));
}

/* ------------------------------------------------------------------- toc */

.yb-toc {
	position: fixed;
	left: clamp(0.9rem, 2.5vw, 2rem);
	bottom: clamp(0.9rem, 3vh, 2rem);
	z-index: 60;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
}

.yb-toc__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1.05rem;
	border: 1px solid var(--themeone-border);
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 88%, transparent);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: var(--themeone-shadow);
	color: var(--wp--preset--color--ink);
	font-size: 0.88rem;
	font-weight: 600;
	cursor: pointer;
	transition:
		transform var(--themeone-motion-duration) var(--themeone-motion-easing),
		background var(--themeone-motion-duration) var(--themeone-motion-easing),
		color var(--themeone-motion-duration) var(--themeone-motion-easing),
		box-shadow var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-toc__toggle:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 34px rgba(139, 127, 214, 0.24);
}

.yb-toc__toggle.is-open {
	border-color: transparent;
	background: linear-gradient(135deg, var(--wp--preset--color--accent), color-mix(in srgb, var(--wp--preset--color--accent) 55%, #6f63c4));
	color: #fff;
}

.yb-toc__icon {
	width: 18px;
	height: 18px;
	color: var(--wp--preset--color--accent);
}

.yb-toc__toggle.is-open .yb-toc__icon {
	color: currentColor;
}

.yb-toc__panel {
	width: min(78vw, 288px);
	max-height: min(58vh, 440px);
	overflow-y: auto;
	padding: 0.85rem;
	border: 1px solid var(--themeone-border);
	border-radius: 16px;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 94%, transparent);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 26px 52px rgba(31, 34, 48, 0.18);
	animation: yb-toc-in 0.26s var(--themeone-motion-easing);
}

.yb-toc__panel-title {
	margin: 0.1rem 0.35rem 0.6rem;
	font-size: 0.74rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.yb-toc__list {
	display: grid;
	gap: 0.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.yb-toc__item::before {
	display: none;
}

.yb-toc__link {
	display: flex;
	gap: 0.55rem;
	align-items: baseline;
	padding: 0.42rem 0.55rem;
	border-radius: 10px;
	color: color-mix(in srgb, var(--wp--preset--color--ink) 82%, var(--wp--preset--color--muted));
	font-size: 0.88rem;
	line-height: 1.5;
	text-decoration: none;
	transition:
		background var(--themeone-motion-duration) var(--themeone-motion-easing),
		color var(--themeone-motion-duration) var(--themeone-motion-easing),
		transform var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-toc__link:hover {
	background: color-mix(in srgb, var(--wp--preset--color--accent-soft) 55%, transparent);
	color: var(--wp--preset--color--ink);
	transform: translateX(2px);
}

.yb-toc__link.is-active {
	background: color-mix(in srgb, var(--wp--preset--color--accent-soft) 85%, white);
	color: color-mix(in srgb, var(--wp--preset--color--accent) 80%, var(--wp--preset--color--ink));
	font-weight: 650;
}

.yb-toc__index {
	flex: 0 0 auto;
	font-size: 0.72rem;
	font-variant-numeric: tabular-nums;
	opacity: 0.6;
}

.yb-toc__text {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.yb-toc__item--sub .yb-toc__link {
	padding-left: 1.65rem;
	font-size: 0.84rem;
}

.yb-toc[hidden],
.yb-toc__panel[hidden],
.yb-progress[hidden],
.yb-read-toast[hidden] {
	display: none;
}

@keyframes yb-hero-zoom {
	from {
		transform: scale(1.06);
	}
	to {
		transform: scale(1);
	}
}

@keyframes yb-heart-pop {
	0% {
		transform: scale(1);
	}
	35% {
		transform: scale(1.4);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes yb-toc-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 781px) {
	.yb-read-hero.wp-block-cover {
		min-height: 300px !important;
	}

	.yb-read-hero__inner {
		padding-top: clamp(2.5rem, 10vh, 4rem);
		padding-bottom: 2.25rem;
	}

	.yb-read-body > .yb-read-content {
		padding: 1.25rem 1.1rem 1.6rem;
		border-radius: 16px;
	}

	.wp-block-post-content {
		font-size: 1rem;
		line-height: 1.8;
	}

	.yb-read-nav {
		grid-template-columns: minmax(0, 1fr);
	}

	.yb-toc__panel {
		width: min(86vw, 300px);
		max-height: 52vh;
	}

	.yb-read-toast {
		bottom: 4.6rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.yb-read-hero .wp-block-cover__image-background,
	.yb-like.is-liked .yb-like__icon,
	.yb-toc__panel {
		animation: none;
	}

	.yb-progress__bar,
	.yb-to-top__ring-value {
		transition: none;
	}
}

/* ==========================================================================
   Site header — floating navigation pills (Sakurairo-inspired)
   ========================================================================== */

:root {
	--yb-header-h: 76px;
	--yb-header-pill-h: 46px;
	--yb-header-offset: 0px;
}

body.admin-bar {
	--yb-header-offset: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		--yb-header-offset: 46px;
	}
}

.wp-block-group.site-header {
	position: sticky;
	top: var(--yb-header-offset);
	z-index: 90;
	height: var(--yb-header-h);
	margin-block: 0;
	padding-block: 0;
	padding-inline: clamp(0.75rem, 2.5vw, 1.75rem);
	display: flex;
	align-items: center;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: color-mix(in srgb, var(--wp--preset--color--base) 76%, transparent);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 8%, transparent);
	box-shadow: 0 10px 30px rgba(31, 34, 48, 0.06);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.site-header.is-scrolled::before {
	opacity: 1;
}

.site-header .site-header__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 0.75rem;
	width: 100%;
	max-width: 1560px;
	margin-inline: auto;
	padding: 0;
}

/* ------------------------------------------------------------- the pills */

.wp-block-group.yb-nav-pill {
	display: flex;
	align-items: center;
	gap: 0.2rem;
	height: var(--yb-header-pill-h);
	margin: 0;
	padding: 0 0.3rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--surface) 92%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 74%, transparent);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	backdrop-filter: saturate(180%) blur(12px);
	box-shadow: 0 6px 22px rgba(31, 34, 48, 0.09);
	transition:
		background var(--themeone-motion-duration) var(--themeone-motion-easing),
		box-shadow var(--themeone-motion-duration) var(--themeone-motion-easing);
	animation: yb-nav-pill-in 0.7s var(--themeone-motion-easing) both;
}

.yb-nav-pill:hover,
.yb-nav-pill:focus-within {
	background: color-mix(in srgb, var(--wp--preset--color--surface) 90%, transparent);
	box-shadow: 0 12px 30px rgba(31, 34, 48, 0.13);
}

.yb-nav-pill--menu {
	animation-delay: 0.06s;
}

.yb-nav-pill--actions {
	animation-delay: 0.12s;
}

.yb-nav-pill__viewport {
	position: relative;
	display: flex;
	align-items: center;
	min-width: 0;
}

.yb-nav-pill__divider {
	flex: 0 0 auto;
	width: 1px;
	height: 22px;
	margin: 0 0.35rem;
	background: color-mix(in srgb, var(--wp--preset--color--ink) 12%, transparent);
}

/* ------------------------------------------------------------- branding */

.yb-nav-pill--branding {
	padding-left: 0.35rem;
	padding-right: 0.5rem;
	gap: 0.5rem;
}

.yb-nav-pill--branding .wp-block-site-logo {
	margin: 0;
	line-height: 0;
}

.yb-nav-pill--branding .wp-block-site-logo img {
	width: 34px;
	height: 34px;
	border-radius: 999px;
	object-fit: cover;
}

.yb-nav-brand__title,
.yb-nav-brand__title.wp-block-site-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--system-serif);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1;
}

.yb-nav-brand__title a {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 0.75rem;
	border-radius: 999px;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	transition:
		background var(--themeone-motion-duration) var(--themeone-motion-easing),
		color var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-nav-brand__title a:hover,
.yb-nav-brand__title a:focus-visible {
	background: var(--wp--preset--color--accent-soft);
	color: color-mix(in srgb, var(--wp--preset--color--accent) 78%, var(--wp--preset--color--ink));
}

/* --------------------------------------------------------- category menu */

.yb-nav-menu__list,
.yb-nav-menu__submenu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.yb-nav-menu__list {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	white-space: nowrap;
}

.yb-nav-menu__item {
	position: relative;
}

.yb-nav-menu__link {
	display: inline-flex;
	align-items: center;
	height: calc(var(--yb-header-pill-h) - 10px);
	padding: 0 0.95rem;
	border-radius: 999px;
	color: color-mix(in srgb, var(--wp--preset--color--ink) 88%, var(--wp--preset--color--muted));
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	transition:
		background var(--themeone-motion-duration) var(--themeone-motion-easing),
		color var(--themeone-motion-duration) var(--themeone-motion-easing),
		box-shadow var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-nav-menu__item.has-children > .yb-nav-menu__link::after {
	content: "";
	width: 5px;
	height: 5px;
	margin-left: 0.45rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	transition: transform var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-nav-menu__item.has-children:hover > .yb-nav-menu__link::after {
	transform: rotate(45deg) translate(1px, 1px);
}

.yb-nav-menu__link:hover,
.yb-nav-menu__link:focus-visible,
.yb-nav-menu__item:hover > .yb-nav-menu__link,
.yb-nav-menu__item:focus-within > .yb-nav-menu__link {
	background: var(--wp--preset--color--accent);
	color: #fff;
	box-shadow: 0 10px 22px color-mix(in srgb, var(--wp--preset--color--accent) 34%, transparent);
}

.yb-nav-menu__submenu {
	position: absolute;
	top: calc(100% + 0.75rem);
	left: 0;
	z-index: 3;
	min-width: 13.5rem;
	display: grid;
	gap: 0.15rem;
	padding: 0.5rem;
	border: 1px solid var(--themeone-border);
	border-radius: 16px;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 94%, transparent);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	box-shadow: 0 24px 50px rgba(31, 34, 48, 0.16);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-0.5rem) scale(0.98);
	transform-origin: top left;
	transition:
		opacity var(--themeone-motion-duration) var(--themeone-motion-easing),
		transform var(--themeone-motion-duration) var(--themeone-motion-easing),
		visibility var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-nav-menu__item:hover > .yb-nav-menu__submenu,
.yb-nav-menu__item:focus-within > .yb-nav-menu__submenu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
}

.yb-nav-menu__subhead {
	padding: 0.35rem 0.7rem 0.45rem;
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.yb-nav-menu__sublink {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.55rem 0.7rem;
	border-radius: 10px;
	color: var(--wp--preset--color--ink);
	font-size: 0.92rem;
	text-decoration: none;
	transition:
		background var(--themeone-motion-duration) var(--themeone-motion-easing),
		color var(--themeone-motion-duration) var(--themeone-motion-easing),
		transform var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-nav-menu__sublink:hover,
.yb-nav-menu__sublink:focus-visible {
	background: var(--wp--preset--color--accent-soft);
	color: color-mix(in srgb, var(--wp--preset--color--accent) 80%, var(--wp--preset--color--ink));
	transform: translateX(2px);
}

.yb-nav-menu__subcount {
	flex: 0 0 auto;
	min-width: 1.4rem;
	padding: 0.05rem 0.4rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--ink) 7%, transparent);
	color: var(--wp--preset--color--muted);
	font-size: 0.72rem;
	text-align: center;
}

/* ------------------------------------------------------ action pill bits */

.yb-nav-icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: calc(var(--yb-header-pill-h) - 12px);
	height: calc(var(--yb-header-pill-h) - 12px);
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: color-mix(in srgb, var(--wp--preset--color--ink) 78%, var(--wp--preset--color--muted));
	cursor: pointer;
	transition:
		background var(--themeone-motion-duration) var(--themeone-motion-easing),
		color var(--themeone-motion-duration) var(--themeone-motion-easing),
		transform var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-nav-icon svg {
	width: 18px;
	height: 18px;
}

.yb-nav-icon:hover,
.yb-nav-icon:focus-visible {
	background: var(--wp--preset--color--accent);
	color: #fff;
	transform: translateY(-1px);
}

.yb-header-account {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 0;
	padding: 0 0.35rem;
	color: var(--wp--preset--color--muted);
	font-size: 0.88rem;
}

.yb-header-account__avatar {
	width: calc(var(--yb-header-pill-h) - 12px);
	height: calc(var(--yb-header-pill-h) - 12px);
}

.yb-header-account__link {
	padding: 0.3rem 0.35rem;
	border-radius: 999px;
	font-weight: 600;
}

.yb-header-account__link:hover,
.yb-header-account__link:focus-visible {
	color: var(--wp--preset--color--accent);
	background: var(--wp--preset--color--accent-soft);
}

/* ----------------------------------------- current article title swap */

.yb-nav-swap {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0 0.95rem;
	opacity: 0;
	transform: translateY(calc(-50% + 0.4rem));
	pointer-events: none;
	transition:
		opacity var(--themeone-motion-duration) var(--themeone-motion-easing),
		transform var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-nav-swap__dot {
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--wp--preset--color--accent) 18%, transparent);
}

.yb-nav-swap__title {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 0.9rem;
	font-weight: 600;
	color: color-mix(in srgb, var(--wp--preset--color--ink) 86%, var(--wp--preset--color--muted));
}

.yb-nav-menu {
	transition:
		opacity var(--themeone-motion-duration) var(--themeone-motion-easing),
		transform var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.site-header.is-swapped:not(:hover) .yb-nav-menu {
	opacity: 0;
	transform: translateY(-0.7rem);
	pointer-events: none;
}

.site-header.is-swapped:not(:hover) .yb-nav-swap {
	opacity: 1;
	transform: translateY(-50%);
}

/* --------------------------------------------------------- search modal */

.yb-search {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	opacity: 0;
	transition: opacity 0.26s var(--themeone-motion-easing);
}

.yb-search.is-open {
	opacity: 1;
}

.yb-search__backdrop {
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--wp--preset--color--base) 72%, transparent);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	backdrop-filter: saturate(180%) blur(16px);
}

.yb-search__dialog {
	position: relative;
	z-index: 1;
	width: min(640px, 100%);
	transform: translateY(-1rem) scale(0.98);
	transition: transform 0.3s var(--themeone-motion-easing);
}

.yb-search.is-open .yb-search__dialog {
	transform: none;
}

.yb-search__close {
	position: absolute;
	top: -3.25rem;
	right: 0;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 80%, transparent);
	cursor: pointer;
	transition: background var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-search__close:hover {
	background: var(--wp--preset--color--surface);
}

.yb-search__close span,
.yb-search__close span::after {
	position: absolute;
	left: 50%;
	top: 50%;
	content: "";
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: var(--wp--preset--color--ink);
	transform: translate(-50%, -50%) rotate(45deg);
}

.yb-search__close span::after {
	transform: translate(-50%, -50%) rotate(-90deg);
}

.yb-search__kicker {
	margin: 0 0 0.6rem;
	font-size: 0.74rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.yb-search__field {
	position: relative;
	display: flex;
	align-items: center;
}

.yb-search__input {
	width: 100%;
	padding: 1rem 4rem 1rem 1.4rem;
	border: 1px solid var(--themeone-border);
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 88%, transparent);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 22px 50px rgba(31, 34, 48, 0.14);
	color: var(--wp--preset--color--ink);
	font-size: 1.3rem;
	transition:
		border-color var(--themeone-motion-duration) var(--themeone-motion-easing),
		box-shadow var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-search__input:focus {
	outline: none;
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 60%, transparent);
	box-shadow:
		0 0 0 5px color-mix(in srgb, var(--wp--preset--color--accent-soft) 80%, transparent),
		0 22px 50px rgba(31, 34, 48, 0.16);
}

.yb-search__submit {
	position: absolute;
	right: 0.45rem;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--accent);
	color: #fff;
	cursor: pointer;
	transition:
		transform var(--themeone-motion-duration) var(--themeone-motion-easing),
		box-shadow var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-search__submit:hover {
	transform: scale(1.06);
	box-shadow: 0 12px 24px color-mix(in srgb, var(--wp--preset--color--accent) 40%, transparent);
}

.yb-search__submit svg {
	width: 18px;
	height: 18px;
}

.yb-search__hint {
	margin: 0.85rem 0 0;
	text-align: center;
	font-size: 0.82rem;
	color: var(--wp--preset--color--muted);
}

/* ------------------------------------------------------- mobile drawer */

.yb-nav-burger {
	position: relative;
	display: none;
	flex: 0 0 auto;
	width: calc(var(--yb-header-pill-h) - 8px);
	height: calc(var(--yb-header-pill-h) - 8px);
	border: 0;
	border-radius: 999px;
	background: transparent;
	cursor: pointer;
	transition: background var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-nav-burger:hover {
	background: var(--wp--preset--color--accent-soft);
}

.yb-nav-burger__bar {
	position: absolute;
	left: 50%;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--wp--preset--color--ink);
	transform: translateX(-50%);
	transition:
		transform var(--themeone-motion-duration) var(--themeone-motion-easing),
		opacity var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-nav-burger__bar:nth-child(1) {
	top: 36%;
}

.yb-nav-burger__bar:nth-child(2) {
	top: 50%;
}

.yb-nav-burger__bar:nth-child(3) {
	top: 64%;
}

.yb-nav-burger.is-open .yb-nav-burger__bar:nth-child(1) {
	transform: translateX(-50%) translateY(6px) rotate(45deg);
}

.yb-nav-burger.is-open .yb-nav-burger__bar:nth-child(2) {
	opacity: 0;
}

.yb-nav-burger.is-open .yb-nav-burger__bar:nth-child(3) {
	transform: translateX(-50%) translateY(-6px) rotate(-45deg);
}

.yb-mobile-nav {
	position: absolute;
	top: calc(100% + 0.4rem);
	left: 0;
	right: 0;
	z-index: 5;
	max-height: 0;
	padding: 0 0.9rem;
	overflow: hidden;
	opacity: 0;
	transform: translateY(-0.6rem);
	border: 1px solid var(--themeone-border);
	border-radius: 20px;
	background: color-mix(in srgb, var(--wp--preset--color--surface) 96%, transparent);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	backdrop-filter: saturate(180%) blur(16px);
	box-shadow: 0 26px 60px rgba(31, 34, 48, 0.18);
	transition:
		opacity 0.26s var(--themeone-motion-easing),
		transform 0.26s var(--themeone-motion-easing),
		max-height 0.34s var(--themeone-motion-easing);
}

.yb-mobile-nav.is-open {
	max-height: min(72vh, 560px);
	padding: 1rem 0.9rem 1.2rem;
	overflow-y: auto;
	opacity: 1;
	transform: none;
}

.yb-mobile-nav__search {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.9rem;
}

.yb-mobile-nav__search input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.7rem 1rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 12%, transparent);
	border-radius: 999px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	font: inherit;
}

.yb-mobile-nav__search input:focus {
	outline: none;
	border-color: color-mix(in srgb, var(--wp--preset--color--accent) 55%, transparent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--wp--preset--color--accent-soft) 75%, transparent);
}

.yb-mobile-nav__search button {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--accent);
	color: #fff;
	cursor: pointer;
}

.yb-mobile-nav__search svg {
	width: 17px;
	height: 17px;
}

.yb-mobile-nav__list,
.yb-mobile-nav__sublist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.yb-mobile-nav__list {
	display: grid;
	gap: 0.2rem;
}

.yb-mobile-nav__row {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.yb-mobile-nav__link {
	flex: 1 1 auto;
	padding: 0.7rem 0.9rem;
	border-radius: 12px;
	color: var(--wp--preset--color--ink);
	font-weight: 600;
	text-decoration: none;
	transition: background var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-mobile-nav__link:hover,
.yb-mobile-nav__link:focus-visible {
	background: var(--wp--preset--color--accent-soft);
}

.yb-mobile-nav__expand {
	position: relative;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border: 1px solid var(--themeone-border);
	border-radius: 10px;
	background: var(--wp--preset--color--surface);
	cursor: pointer;
}

.yb-mobile-nav__expand span::before,
.yb-mobile-nav__expand span::after {
	position: absolute;
	left: 50%;
	top: 50%;
	content: "";
	width: 12px;
	height: 2px;
	border-radius: 2px;
	background: color-mix(in srgb, var(--wp--preset--color--ink) 70%, var(--wp--preset--color--muted));
	transform: translate(-50%, -50%);
	transition: transform var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-mobile-nav__expand span::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.yb-mobile-nav__expand[aria-expanded="true"] span::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.yb-mobile-nav__sublist {
	max-height: 0;
	margin-left: 0.9rem;
	overflow: hidden;
	border-left: 2px solid color-mix(in srgb, var(--wp--preset--color--accent) 24%, transparent);
	transition: max-height 0.32s var(--themeone-motion-easing);
}

.yb-mobile-nav__sublink {
	display: block;
	padding: 0.55rem 0.9rem;
	border-radius: 10px;
	color: color-mix(in srgb, var(--wp--preset--color--ink) 78%, var(--wp--preset--color--muted));
	text-decoration: none;
	transition: background var(--themeone-motion-duration) var(--themeone-motion-easing);
}

.yb-mobile-nav__sublink:hover,
.yb-mobile-nav__sublink:focus-visible {
	background: var(--wp--preset--color--accent-soft);
	color: var(--wp--preset--color--ink);
}

/* the fixed panel must not inherit pill entrance transforms */
.yb-mobile-nav,
.yb-search {
	will-change: auto;
}

.yb-mobile-nav[hidden],
.yb-search[hidden],
.yb-mobile-nav__sublist[hidden] {
	display: none;
}

/* ------------------------------------- content offset / reading page hero */

body.single .wp-site-blocks > .yb-read-hero {
	margin-block-start: calc(-1 * var(--yb-header-h));
}

body.single .yb-read-hero__inner {
	padding-top: calc(var(--yb-header-h) + clamp(1.25rem, 5vh, 2.75rem));
}

.yb-progress {
	z-index: 120;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 900px) {
	:root {
		--yb-header-h: 66px;
		--yb-header-pill-h: 42px;
	}

	.wp-block-group.yb-nav-pill--menu {
		display: none;
	}

	.yb-nav-burger {
		display: block;
	}

	.yb-nav-brand__title {
		font-size: 1rem;
		letter-spacing: 0.1em;
	}

	.yb-nav-pill--branding .wp-block-site-logo img {
		width: 30px;
		height: 30px;
	}
}

@media (min-width: 901px) {
	.wp-block-group.yb-nav-burger {
		display: none;
	}

	.yb-mobile-nav {
		display: none !important;
	}
}

@keyframes yb-nav-pill-in {
	from {
		opacity: 0;
		transform: translateY(-18px) scale(0.97);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.yb-nav-pill {
		animation: none;
	}

	.yb-mobile-nav,
	.yb-mobile-nav__sublist,
	.yb-search,
	.yb-search__dialog,
	.yb-nav-swap,
	.yb-nav-menu {
		transition: none;
	}
}
