/**
 * Recipe Index page — category browse, AR-inspired cards.
 */

.page-id-3614 .entry-content-wrap,
.page-slug-recipe-index .entry-content-wrap {
	padding-top: 0 !important;
}

.gj-recipe-index__title {
	font-family: "DM Serif Display", Georgia, "Times New Roman", serif !important;
	font-size: clamp(2rem, 4vw, 2.75rem) !important;
	font-weight: 400 !important;
	color: #1a1a1a !important;
	margin: 0 0 0.75rem !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.gj-recipe-index__intro {
	font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	font-size: 1.0625rem !important;
	line-height: 1.6 !important;
	color: #5c5c5c !important;
	max-width: 40rem;
	margin: 0 auto !important;
}

/* Category jump nav */
.gj-recipe-index__nav {
	width: 100%;
}

.gj-recipe-index__nav-list {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 0.5rem 0.55rem !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.gj-recipe-index__nav-list li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.gj-recipe-index__nav-link {
	display: inline-block;
	padding: 0.45rem 0.9rem;
	font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	color: #1a1a1a !important;
	background: #ffffff !important;
	border: 1px solid #d9d5cf !important;
	border-radius: 999px !important;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.gj-recipe-index__nav-link:hover {
	background: #1e3a6e !important;
	border-color: #1e3a6e !important;
	color: #ffffff !important;
}

/* Section headers */
.gj-recipe-index__section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin: 0 0 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #ebe7e1;
	scroll-margin-top: 100px;
}

.gj-recipe-index__section-title {
	font-family: "DM Serif Display", Georgia, "Times New Roman", serif !important;
	font-size: clamp(1.5rem, 2.5vw, 1.9rem) !important;
	font-weight: 400 !important;
	color: #1a1a1a !important;
	margin: 0 0 0.25rem !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	line-height: 1.2 !important;
}

.gj-recipe-index__section-blurb {
	font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	font-size: 0.95rem !important;
	line-height: 1.5 !important;
	color: #5c5c5c !important;
	margin: 0 !important;
	max-width: 36rem;
}

.gj-recipe-index__view-all {
	font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	color: #3d998e !important;
	white-space: nowrap;
}

.gj-recipe-index__view-all:hover {
	color: #1a1a1a !important;
	text-decoration: underline !important;
}

/* Cards on this page — match home AR style */
.page-id-3614 .kb-posts .loop-entry,
.page-slug-recipe-index .kb-posts .loop-entry {
	background: transparent !important;
	box-shadow: none !important;
}

.page-id-3614 .kb-posts .loop-entry > .entry-content-wrap,
.page-slug-recipe-index .kb-posts .loop-entry > .entry-content-wrap {
	padding: 0.75rem 0 0.25rem !important;
	text-align: left !important;
}

/* Card images — same tight 3:2 fix as homepage */
.page-id-3614 .kb-posts article.loop-entry,
.page-slug-recipe-index .kb-posts article.loop-entry {
	display: flex !important;
	flex-direction: column !important;
}

.page-id-3614 .kb-posts .loop-entry .post-thumbnail,
.page-slug-recipe-index .kb-posts .loop-entry .post-thumbnail {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	height: 0 !important;
	padding-bottom: 66.666% !important;
	overflow: hidden !important;
	margin: 0 !important;
	border-radius: 4px !important;
	background: transparent !important;
}

.page-id-3614 .kb-posts .loop-entry .post-thumbnail .post-thumbnail-inner,
.page-slug-recipe-index .kb-posts .loop-entry .post-thumbnail .post-thumbnail-inner {
	position: absolute !important;
	inset: 0 !important;
	height: auto !important;
	padding: 0 !important;
	margin: 0 !important;
}

.page-id-3614 .kb-posts .loop-entry .post-thumbnail img,
.page-slug-recipe-index .kb-posts .loop-entry .post-thumbnail img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	margin: 0 !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.page-id-3614 .kb-posts .loop-entry > .entry-content-wrap,
.page-slug-recipe-index .kb-posts .loop-entry > .entry-content-wrap {
	padding: 0.65rem 0 0 !important;
}

.page-id-3614 .kb-posts .entry-title,
.page-id-3614 .kb-posts .entry-title a,
.page-slug-recipe-index .kb-posts .entry-title a {
	font-family: "DM Serif Display", Georgia, serif !important;
	font-size: clamp(1.05rem, 1.35vw, 1.3rem) !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
	color: #1a1a1a !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.page-id-3614 .kb-posts .entry-title a:hover {
	color: #3d998e !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.page-id-3614 .kb-posts .entry-taxonomies a,
.page-slug-recipe-index .kb-posts .entry-taxonomies a {
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: #757575 !important;
	background: transparent !important;
	text-decoration: none !important;
}

.page-id-3614 .kb-posts .entry-footer,
.page-id-3614 .kb-posts .post-more-link,
.page-id-3614 .kb-posts .more-link-wrap {
	display: none !important;
}

/* Anchor offset for sticky header */
.page-id-3614 [id^="cat-"] {
	scroll-margin-top: 120px;
}

@media (max-width: 767px) {
	.gj-recipe-index__section-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.gj-recipe-index__nav-link {
		padding: 0.4rem 0.7rem;
		font-size: 11px !important;
	}
}
