/* 与 AI 资源导航页同宽 */
.leafs-main.leafs-container.leafs-daily-share {
	width: min(calc(100vw - 28px), 1540px);
	max-width: none;
	box-sizing: border-box;
	min-width: 0;
	padding-top: 18px;
	padding-bottom: 48px;
}

.leafs-daily-share__layout--two-col {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
	gap: 28px;
	align-items: start;
}

.leafs-daily-share__primary {
	min-width: 0;
}

.leafs-daily-share__sidebar {
	position: sticky;
	top: calc(var(--leafs-header-h, 64px) + 16px);
}

.leafs-daily-share__single-hero--compact {
	margin-top: 6px;
	padding-top: 10px;
}

.leafs-daily-share__hero {
	position: relative;
	margin-bottom: 24px;
	border-radius: 24px;
	padding: 42px 32px;
	background:
		radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 45%),
		linear-gradient(135deg,
			color-mix(in srgb, var(--leafs-brand, #2d6a4f) 90%, #0e1a14 10%) 0%,
			color-mix(in srgb, var(--leafs-brand, #2d6a4f) 60%, #0f172a 40%) 50%,
			color-mix(in srgb, var(--leafs-brand, #2d6a4f) 40%, #0f172a 60%) 100%);
	color: #fff;
	overflow: hidden;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.leafs-daily-share__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 30%);
	pointer-events: none;
	z-index: 1;
}

.leafs-daily-share__hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 70%);
	pointer-events: none;
	z-index: 1;
}

.leafs-daily-share__hero-inner {
	position: relative;
	z-index: 1;
}

.leafs-daily-share__hero-kicker {
	margin: 0 0 8px;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.9;
}

.leafs-daily-share__hero-title {
	margin: 0;
	font-size: clamp(28px, 4vw, 38px);
	line-height: 1.1;
}

.leafs-daily-share__hero-subtitle {
	margin: 10px 0 0;
	font-size: 14px;
	opacity: 0.92;
}

.leafs-daily-share__months {
	display: grid;
	gap: 10px;
	margin-bottom: 20px;
	padding: 18px;
	border-radius: 16px;
	border: 1px solid var(--leafs-border, #dbe3ed);
	background: color-mix(in srgb, var(--leafs-card, #fff) 92%, var(--leafs-brand, #2d6a4f) 8%);
	box-shadow: 0 4px 16px rgba(16, 32, 48, 0.06);
	backdrop-filter: blur(8px);
}

.leafs-daily-share__month-select {
	display: none;
	width: 100%;
	max-width: 280px;
	padding: 10px 12px;
	border: 1px solid var(--leafs-border, #dbe3ed);
	border-radius: 12px;
	background: var(--leafs-card, #fff);
	color: var(--leafs-text, #102030);
}

.leafs-daily-share__month-groups {
	display: grid;
	gap: 10px;
}

.leafs-daily-share__month-group {
	display: flex;
	align-items: center;
	gap: 10px;
}

.leafs-daily-share__month-year {
	margin: 0;
	width: 48px;
	font-size: 12px;
	font-weight: 600;
	color: var(--leafs-muted, #6b7a8a);
	flex: 0 0 auto;
}

.leafs-daily-share__month-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.leafs-daily-share__month-link {
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	border: 1px solid var(--leafs-border, #dbe3ed);
	border-radius: 10px;
	color: var(--leafs-text, #102030);
	background: var(--leafs-card, #fff);
	text-decoration: none;
	font-size: 12px;
	transition: all 0.18s ease;
}

.leafs-daily-share__month-link:hover {
	border-color: var(--leafs-brand, #2d6a4f);
	color: var(--leafs-brand, #2d6a4f);
}

.leafs-daily-share__month-link.is-active {
	background: var(--leafs-brand, #2d6a4f);
	border-color: var(--leafs-brand, #2d6a4f);
	color: #fff;
}

.leafs-daily-share__list {
	display: grid;
	gap: 12px;
}

.leafs-daily-share__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 14px;
	border-radius: 13px;
	border: 1px solid var(--leafs-border, #dbe3ed);
	background: var(--leafs-card, #fff);
	box-shadow: 0 3px 12px rgba(16, 32, 48, 0.04);
}

.leafs-daily-share__item:hover {
	border-color: color-mix(in srgb, var(--leafs-brand, #2d6a4f) 35%, var(--leafs-border, #dbe3ed));
	box-shadow: 0 8px 20px rgba(16, 32, 48, 0.08);
}

.leafs-daily-share__left {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1 1 auto;
}

.leafs-daily-share__cat {
	margin: 0;
	padding: 2px 8px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--leafs-brand, #2d6a4f) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--leafs-brand, #2d6a4f) 22%, transparent);
	font-size: 12px;
	color: var(--leafs-brand, #2d6a4f);
	line-height: 1.35;
	flex: 0 0 auto;
	white-space: nowrap;
}

.leafs-daily-share__title {
	margin: 0;
	font-size: 15px;
	line-height: 1.35;
	min-width: 120px;
	flex: 0 1 260px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.leafs-daily-share__title a {
	color: var(--leafs-text, #102030);
	text-decoration: none;
}

.leafs-daily-share__title a:hover {
	color: var(--leafs-brand, #2d6a4f);
}

.leafs-daily-share__desc {
	margin: 0;
	color: var(--leafs-muted, #516173);
	line-height: 1.35;
	font-size: 13px;
	flex: 1 1 auto;
	min-width: 180px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.leafs-daily-share__right {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.leafs-daily-share__visit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	border: 1px solid color-mix(in srgb, var(--leafs-brand, #2d6a4f) 45%, transparent);
	color: var(--leafs-brand, #2d6a4f);
	text-decoration: none;
	font-size: 15px;
	background: color-mix(in srgb, var(--leafs-brand, #2d6a4f) 5%, transparent);
	transition: all 0.2s ease;
}

.leafs-daily-share__visit:hover {
	background: color-mix(in srgb, var(--leafs-brand, #2d6a4f) 15%, transparent);
	transform: translateY(-1px);
}

.leafs-daily-share__single-hero {
	margin: 12px 0 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--leafs-border, #dbe3ed);
}

.leafs-daily-share__single-month {
	margin: 0 0 8px;
	font-size: 13px;
	color: var(--leafs-muted, #6b7a8a);
}

.leafs-daily-share__single-title {
	margin: 0;
	font-size: clamp(24px, 4vw, 32px);
	line-height: 1.2;
}

.leafs-daily-share__single-list {
	display: grid;
	gap: 10px;
}

.leafs-daily-share__item--single .leafs-daily-share__title {
	flex-basis: 300px;
}

.leafs-daily-share__single-content {
	font-size: 15px;
	line-height: 1.7;
	color: var(--leafs-text, #102030);
}

.leafs-daily-share__single-back {
	margin: 18px 0 6px;
}

.leafs-daily-share__single-back a {
	display: inline-flex;
	padding: 7px 12px;
	border-radius: 10px;
	border: 1px solid var(--leafs-border, #dbe3ed);
	background: var(--leafs-card, #fff);
	color: var(--leafs-text, #102030);
	text-decoration: none;
}

@media (max-width: 768px) {
	.leafs-daily-share__layout--two-col {
		grid-template-columns: 1fr;
	}

	.leafs-daily-share__sidebar {
		position: static;
		order: 10;
	}

	.leafs-daily-share__hero {
		padding: 26px 18px;
		border-radius: 14px;
	}

	.leafs-daily-share__hero-title {
		word-break: break-word;
	}

	.leafs-daily-share__hero-subtitle {
		line-height: 1.45;
		word-break: break-word;
	}

	.leafs-daily-share__month-select {
		display: block;
		max-width: none;
		box-sizing: border-box;
	}

	.leafs-daily-share__month-groups {
		display: none;
	}

	.leafs-daily-share__item {
		flex-direction: column;
		align-items: stretch;
		padding: 12px 14px;
		gap: 12px;
	}

	.leafs-daily-share__left {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		width: 100%;
		min-width: 0;
	}

	.leafs-daily-share__cat {
		padding: 2px 7px;
	}

	.leafs-daily-share__title {
		font-size: 14px;
		min-width: 0;
		flex: none;
		width: 100%;
		flex-basis: auto;
		white-space: normal;
		word-break: break-word;
	}

	.leafs-daily-share__item--single .leafs-daily-share__title {
		flex-basis: auto;
	}

	.leafs-daily-share__desc {
		font-size: 12px;
		min-width: 0;
		width: 100%;
		flex: none;
		white-space: normal;
		word-break: break-word;
	}

	.leafs-daily-share__right {
		align-self: flex-end;
		margin-top: 2px;
	}

	.leafs-daily-share__single-title {
		font-size: 24px;
		word-break: break-word;
	}

	.leafs-daily-share__single-content {
		overflow-wrap: anywhere;
	}
}

