:root {
	--yh-gap: clamp(1rem, 2vw, 1.5rem);
	--yh-border: #e2e6ef;
	--yh-muted: #5f6b7c;
	--yh-accent: #0f69ff;
	--yh-bg: #f5f7fb;
	--yh-shadow: 0 18px 40px rgba(14, 32, 54, 0.08);
}

body.yh-homepage-active {
	background: var(--yh-bg);
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #101828;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

body.yh-homepage-active a {
	color: inherit;
	text-decoration: none;
	transition: color 120ms ease, opacity 120ms ease;
}

body.yh-homepage-active a:hover {
	color: var(--yh-accent);
}

body.yh-homepage-active .wp-block-post-title,
body.yh-homepage-active .wp-block-site-title {
	display: none !important;
}

.yh-masthead,
.yh-global-nav,
.yh-topic-strip,
.yh-shell {
	max-width: 1280px;
	padding: clamp(1rem, 3vw, 2.5rem);
	margin: 0 auto;
}

.yh-shell {
	display: flex;
	flex-direction: column;
	gap: var(--yh-gap);
}

.yh-masthead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 0.5rem;
}

.yh-masthead__brand {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.yh-masthead__logo {
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.yh-masthead__tools {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.yh-search {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.25rem 0.75rem;
	border: 1px solid var(--yh-border);
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 1px 2px rgba(15, 25, 35, 0.08);
}

.yh-search input {
	border: 0;
	background: transparent;
	min-width: 220px;
	font-size: 0.95rem;
	outline: none;
}

.yh-search button {
	background: var(--yh-accent);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 0.35rem 0.9rem;
	font-weight: 600;
	cursor: pointer;
}

.yh-search__icon {
	color: var(--yh-muted);
	font-size: 1.1rem;
}

.yh-masthead__tagline {
	color: var(--yh-muted);
	font-size: 0.95rem;
}

.yh-masthead__meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.95rem;
	color: var(--yh-muted);
}

.yh-masthead__cta {
	background: var(--yh-accent);
	color: #fff;
	font-weight: 600;
	padding: 0.4rem 1rem;
	border-radius: 999px;
}

.yh-global-nav {
	border-top: 1px solid var(--yh-border);
	border-bottom: 1px solid var(--yh-border);
	margin-bottom: 0.5rem;
}

.yh-nav__list {
	list-style: none;
	margin: 0;
	padding: 0.65rem 0;
	display: flex;
	gap: 1.2rem;
	flex-wrap: wrap;
	font-size: 0.92rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	overflow-x: auto;
}

.yh-nav__list li {
	white-space: nowrap;
}

.yh-topic-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding-top: 0;
	padding-bottom: 1rem;
}

.yh-category-cloud {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 2.5rem 1.5rem;
}

.yh-category-cloud__label {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--yh-muted);
	margin-bottom: 0.4rem;
}

.yh-category-cloud__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.yh-category-chip {
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--yh-border);
	padding: 0.25rem 0.75rem;
	box-shadow: var(--yh-shadow);
	display: inline-flex;
	align-items: center;
}

.yh-category-chip a {
	color: inherit;
}

.yh-topic-chip {
	border: 1px solid var(--yh-border);
	border-radius: 999px;
	padding: 0.35rem 0.9rem;
	font-size: 0.85rem;
	background: #fff;
	white-space: nowrap;
}

.yh-hero {
	display: grid;
	grid-template-columns: minmax(0, 2.2fr) minmax(320px, 1fr);
	gap: var(--yh-gap);
	align-items: flex-start;
}

.yh-hero__side {
	display: flex;
	flex-direction: column;
	gap: var(--yh-gap);
}

.yh-hero__feature {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border: 1px solid #d7dce8;
	box-shadow: var(--yh-shadow);
}

.yh-hero__image {
	display: block;
}

.yh-hero__image img {
	width: 100%;
	height: 260px;
	object-fit: cover;
	display: block;
}

.yh-hero__content {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.yh-hero__content h2 {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	margin: 0;
}

.yh-hero__content p {
	color: var(--yh-muted);
	margin: 0;
}

.yh-hero__stack {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.yh-card,
.yh-hero__latest,
.yh-hero__trending,
.yh-column,
.yh-top-feed,
.yh-spotlight,
.yh-widget {
	padding: 1rem 1.25rem;
	border: 1px solid var(--yh-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--yh-shadow);
}

.yh-column {
	padding: 1.5rem;
}

.yh-widget {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	color: var(--yh-muted);
	font-size: 0.9rem;
}

.yh-widget__eyebrow {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	color: var(--yh-accent);
}

.yh-card--stacked h3 {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
}

.yh-card--stacked {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: flex-start;
}

.yh-card__meta {
	display: flex;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: var(--yh-muted);
	margin-top: 0.35rem;
	flex-wrap: wrap;
}

.yh-card__date {
	color: var(--yh-muted);
}

.yh-card__cat {
	text-transform: uppercase;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	color: var(--yh-accent);
}

.yh-hero__latest h3 {
	margin-top: 0;
	margin-bottom: 0.75rem;
}

.yh-hero__latest ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.yh-hero__latest li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	border-bottom: 1px solid var(--yh-border);
	padding-bottom: 0.5rem;
}

.yh-hero__latest li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.yh-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.yh-hero__trending ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.yh-hero__trending li {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid var(--yh-border);
	padding-bottom: 0.5rem;
}

.yh-hero__trending li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.yh-spotlight {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.yh-spotlight__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 0;
}

.yh-spotlight__thumb {
	display: flex;
	justify-content: center;
	width: 100%;
}

.yh-spotlight__thumb img {
	width: 100%;
	max-width: 220px;
	height: auto;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	border-radius: 12px;
}

.yh-spotlight__body h4 {
	margin: 0 0 0.2rem;
	font-size: 1rem;
	text-align: center;
}

.yh-spotlight__body {
	text-align: center;
}

.yh-top-feed {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.yh-top-feed__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}

.yh-feed-card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.25rem;
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--yh-shadow);
	border: 1px solid var(--yh-border);
}

.yh-feed-card__thumb {
	display: flex;
	justify-content: center;
}

.yh-feed-card__thumb img {
	width: 100%;
	max-width: 320px;
	height: auto;
	aspect-ratio: 5 / 3;
	object-fit: cover;
	border-radius: 16px;
}

.yh-feed-card__body {
	text-align: left;
	width: 100%;
}

.yh-feed-card__body > * {
	width: 100%;
}

.yh-feed-card__body h3 {
	margin: 0 0 0.35rem;
	font-size: 1.3rem;
}

.yh-feed-card__body p {
	margin: 0;
	color: var(--yh-muted);
}

.yh-feed-card__section {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.78rem;
	color: var(--yh-accent);
	font-weight: 700;
}

.yh-link {
	color: var(--yh-accent);
	font-weight: 600;
	font-size: 0.95rem;
}

.yh-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--yh-gap);
}

.yh-card--media {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 0.85rem;
	padding: 0;
	border: none;
}

.yh-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

.yh-card__thumb {
	position: relative;
	display: block;
	min-height: 90px;
	background: #f3f4f7;
	border-radius: 10px;
	overflow: hidden;
}

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

.yh-card--stacked .yh-card__thumb {
	align-self: center;
	width: 100%;
	display: flex;
	justify-content: center;
	min-height: 90px;
}

.yh-card--stacked .yh-card__thumb img {
	width: 100%;
	max-width: 320px;
	height: auto;
	aspect-ratio: 5 / 3;
	object-fit: cover;
	border-radius: 12px;
}

.yh-card__excerpt {
	margin: 0;
	color: var(--yh-muted);
	font-size: 0.9rem;
}

.yh-card--media h4 {
	margin: 0 0 0.25rem;
}

.yh-card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

.yh-card--tile {
	padding: 1rem;
}

.yh-card--tile h4 {
	margin: 0 0 0.35rem;
}

.yh-card--tile p {
	margin: 0;
	color: var(--yh-muted);
}

.yh-card--video {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 1rem;
	padding: 0;
	border: none;
	align-items: center;
}

.yh-card__play {
	position: absolute;
	right: 0.5rem;
	bottom: 0.5rem;
	background: rgba(15, 105, 255, 0.8);
	color: #fff;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
}

.yh-card__placeholder {
	width: 100%;
	height: 100%;
	min-height: 110px;
	background: #e8eefb;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--yh-muted);
	font-weight: 600;
	text-transform: uppercase;
}

@media (max-width: 1200px) {
	.yh-masthead,
	.yh-global-nav,
	.yh-topic-strip {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}

	.yh-hero {
		grid-template-columns: 1fr 320px;
	}

	.yh-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.yh-masthead {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.yh-hero {
		grid-template-columns: 1fr;
	}

	.yh-feed-card {
		grid-template-columns: 1fr;
	}

	.yh-grid {
		grid-template-columns: 1fr;
	}

	.yh-card--media,
	.yh-card--video {
		grid-template-columns: 1fr;
	}

	.yh-nav__list {
		gap: 0.75rem;
		font-size: 0.8rem;
	}

	.yh-search input {
		min-width: 160px;
	}
}

