/* Homepage + archive news cards, single post articles */

.novice-featured {
	display: grid;
	grid-template-columns: 1fr;
	background: #fff;
	border-radius: 1rem;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 10px 30px -18px rgba(255, 75, 147, 0.35);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.novice-featured:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px -16px rgba(255, 75, 147, 0.45);
}

.novice-featured-image {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

.novice-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.novice-featured:hover .novice-featured-image img {
	transform: scale(1.05);
}

.novice-featured-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1.5rem 1.5rem 1.75rem;
	gap: 0.75rem;
}

.novice-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #ff4b93;
}

.novice-meta-dot {
	width: 0.25rem;
	height: 0.25rem;
	border-radius: 9999px;
	background: #ff4b93;
	opacity: 0.5;
}

.novice-featured-body h3 {
	font-family: "Fraunces", ui-serif, Georgia, serif;
	font-weight: 900;
	font-size: 1.5rem;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #111827;
	transition: color 0.25s ease;
}

.novice-featured:hover h3 {
	color: #ff4b93;
}

.novice-excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	color: #6b7280;
	font-weight: 300;
	line-height: 1.7;
	font-size: 0.95rem;
}

.novice-more {
	margin-top: 0.25rem;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ff4b93;
}

.novice-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.novice-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 1rem;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	height: 100%;
	box-shadow: 0 10px 30px -18px rgba(255, 75, 147, 0.28);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.novice-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px -16px rgba(255, 75, 147, 0.4);
}

.novice-card-image {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

.novice-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.novice-card:hover .novice-card-image img {
	transform: scale(1.05);
}

.novice-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #f9a8d4;
}

.novice-card-body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.25rem 1.25rem 1.5rem;
	flex: 1;
}

.novice-card-body h3 {
	font-family: "Fraunces", ui-serif, Georgia, serif;
	font-weight: 900;
	font-size: 1.125rem;
	line-height: 1.25;
	color: #111827;
	transition: color 0.25s ease;
}

.novice-card:hover h3 {
	color: #ff4b93;
}

.novice-card .novice-excerpt {
	-webkit-line-clamp: 2;
	font-size: 0.875rem;
}

.novice-article {
	max-width: 42rem;
	margin: 0 auto;
}

.novice-article-header {
	margin-bottom: 2rem;
}

.novice-article-title {
	font-family: "Fraunces", ui-serif, Georgia, serif;
	font-weight: 900;
	font-size: 2.25rem;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: #111827;
	margin: 0.75rem 0 0;
}

.novice-article-figure {
	margin: 0 0 2rem;
	border-radius: 1rem;
	overflow: hidden;
	background: #fff;
}

.novice-article-figure img {
	width: 100%;
	height: auto;
	display: block;
}

.novice-back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 2.5rem;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ff4b93;
	text-decoration: none;
}

.novice-back:hover {
	text-decoration: underline;
}

.novice-pagination {
	margin-top: 3rem;
	display: flex;
	justify-content: center;
}

.novice-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.novice-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border-radius: 9999px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #374151;
	text-decoration: none;
	background: #fff;
}

.novice-pagination .page-numbers.current,
.novice-pagination a.page-numbers:hover {
	background: #ff4b93;
	color: #fff;
}

.novice-post-nav {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.novice-post-nav .nav-links {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.novice-post-nav a {
	display: block;
	padding: 1.25rem;
	background: #fff;
	border-radius: 1rem;
	text-decoration: none;
	color: #111827;
	transition: color 0.25s ease;
}

.novice-post-nav .nav-subtitle {
	display: block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #9ca3af;
	margin-bottom: 0.4rem;
}

.novice-post-nav .nav-title {
	font-family: "Fraunces", ui-serif, Georgia, serif;
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.3;
}

.novice-post-nav a:hover {
	color: #ff4b93;
}

.novice-comments {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(17, 24, 39, 0.08);
}

@media (min-width: 768px) {
	.novice-featured {
		grid-template-columns: 1.15fr 1fr;
		min-height: 20rem;
	}

	.novice-featured-image {
		aspect-ratio: auto;
		min-height: 100%;
	}

	.novice-featured-body {
		padding: 2.5rem;
		gap: 1rem;
	}

	.novice-featured-body h3 {
		font-size: 2.25rem;
	}

	.novice-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem;
	}

	.novice-article-title {
		font-size: 3.25rem;
	}

	.novice-post-nav .nav-links {
		grid-template-columns: 1fr 1fr;
	}

	.novice-post-nav .nav-next {
		text-align: right;
	}
}
