/* Resource Filters */
.lgs-resource-hub {
	--lgs-rh-primary: #cc5500;
	--lgs-rh-primary-hover: #a94400;
	--lgs-rh-bg: #f7f3ed;
	--lgs-rh-card: #ffffff;
	--lgs-rh-border: #e6ddd2;
	--lgs-rh-text: #2f261f;
	--lgs-rh-muted: #6f655d;
	--lgs-rh-radius: 16px;
	--lgs-rh-gap: 22px;
	color: var(--lgs-rh-text);
}

body.lgs-resource-archive {
	background: #f7f3ed;
	color: var(--lgs-rh-text);
}

.lgs-resource-hub.lgs-resource-filters,
.lgs-resource-hub .etfil {
	max-width: 1180px;
	margin: 0 auto 30px;
	padding: 22px;
	background: var(--lgs-rh-bg);
	border: 1px solid var(--lgs-rh-border);
	border-radius: 14px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.lgs-resource-hub #resourceFilters,
.lgs-resource-hub .lgs-resource-filters-form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 15px;
	align-items: end;
	margin-bottom: 0;
}

.lgs-resource-hub .lgs-resource-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	color: var(--lgs-rh-text);
}

.lgs-resource-hub #resourceFilters select,
.lgs-resource-hub .lgs-resource-field select,
.lgs-resource-hub .etfil select {
	width: 100%;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid #ccc;
	background: #fff;
	font-size: 15px;
	color: var(--lgs-rh-text);
}

.lgs-resource-hub #resourceFilters button,
.lgs-resource-hub .lgs-resource-submit {
	padding: 13px 24px;
	height: 48px;
	background: var(--lgs-rh-primary);
	color: #fff;
	border: 0;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.25s ease;
}

.lgs-resource-hub #resourceFilters button:hover,
.lgs-resource-hub .lgs-resource-submit:hover {
	background: var(--lgs-rh-primary-hover);
}

.lgs-resource-hub .lgs-resource-validation {
	margin: 0 0 12px;
	color: #b42318;
}

.lgs-resource-hub .lgs-resource-notice {
	margin: 0 0 12px;
	padding: 10px 12px;
	border: 1px solid var(--lgs-rh-border);
	border-radius: 10px;
	background: #fff;
	color: var(--lgs-rh-muted);
}

/* Resource Cards */
.lgs-resource-hub .guide-list,
.lgs-guide-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 15px;
	margin: 50px 0;
}

body.lgs-resource-archive .site-main,
body.lgs-resource-archive .content-area,
body.lgs-resource-archive .entry-content {
	color: var(--lgs-rh-text);
}

body.lgs-resource-archive .page-header,
body.lgs-resource-archive .archive-header,
body.lgs-resource-archive .archive-title,
body.lgs-resource-archive .page-title {
	text-align: center;
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
}

body.lgs-resource-archive .archive-description,
body.lgs-resource-archive .taxonomy-description {
	max-width: 820px;
	margin: 0 auto 24px;
	text-align: center;
	color: var(--lgs-rh-muted);
}

body.lgs-resource-archive .guide-list,
body.lgs-resource-archive .lgs-guide-list,
body.lgs-resource-archive .posts,
body.lgs-resource-archive .post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	max-width: 1180px;
	margin: 24px auto 38px;
}

body.lgs-resource-archive .guide-list > article,
body.lgs-resource-archive .lgs-guide,
body.lgs-resource-archive .posts > article,
body.lgs-resource-archive article.type-guide,
body.lgs-resource-archive article.type-guides {
	background: var(--lgs-rh-card);
	border: 1px solid var(--lgs-rh-border);
	border-radius: 18px;
	padding: 18px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

body.lgs-resource-archive article.type-guide h1,
body.lgs-resource-archive article.type-guide h2,
body.lgs-resource-archive article.type-guide h3,
body.lgs-resource-archive article.type-guides h1,
body.lgs-resource-archive article.type-guides h2,
body.lgs-resource-archive article.type-guides h3,
body.lgs-resource-archive .guide-list h2,
body.lgs-resource-archive .guide-list h3 {
	color: #cc5500;
}

body.lgs-resource-archive .guide-list a.more-link,
body.lgs-resource-archive .guide-list .read-more,
body.lgs-resource-archive article.type-guide .more-link,
body.lgs-resource-archive article.type-guides .more-link {
	display: inline-block;
	margin-top: 10px;
	padding: 10px 18px;
	background: #cc5500;
	color: #fff;
	text-decoration: none;
	border-radius: 999px;
	font-weight: 600;
}

body.lgs-resource-archive .guide-list a.more-link:hover,
body.lgs-resource-archive .guide-list .read-more:hover,
body.lgs-resource-archive article.type-guide .more-link:hover,
body.lgs-resource-archive article.type-guides .more-link:hover {
	background: #a94400;
}

body.lgs-resource-archive .topic-grid,
body.lgs-resource-archive .lgs-topic-grid {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
}

.lgs-resource-hub .guide-list img,
.lgs-guide-list img {
	display: block;
	width: 100%;
	height: 250px;
	object-fit: cover;
	border-radius: 25px;
}

.lgs-resource-hub .triple-cards {
	background: #cfc8b8;
	padding: 44px 28px;
}

.lgs-resource-hub .cards-wrap {
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	gap: var(--lgs-rh-gap);
}

.lgs-resource-hub .card {
	background: #eceae4;
	border-radius: 26px;
	overflow: hidden;
	padding: 0 0 28px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.lgs-resource-hub .card-media {
	height: 220px;
	overflow: hidden;
	border-top-left-radius: 26px;
	border-top-right-radius: 26px;
}

.lgs-resource-hub .card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lgs-resource-hub .card-title {
	margin: 22px 22px 0;
	color: var(--lgs-rh-primary);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.6px;
}

.lgs-resource-hub .card-list {
	margin: 18px 0 0;
	padding: 0 22px;
	color: var(--lgs-rh-text);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.65;
	list-style: disc;
}

.lgs-resource-hub .card-list li {
	margin: 10px 0;
}

.lgs-resource-hub .card a {
	display: inline-block;
	margin: 10px 0 0 22px;
	padding: 8px 32px;
	background: var(--lgs-rh-primary);
	color: #fff;
	text-decoration: none;
	border-radius: 30px;
	font-weight: 600;
}

/* Topic Grid */
.lgs-resource-hub .topic-grid,
.lgs-topic-grid {
	max-width: 1180px;
	margin: 18px auto 22px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--lgs-rh-gap);
}

.lgs-resource-hub .topic-card,
.lgs-topic-grid .topic-card {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: flex-end;
	padding: 14px;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
	transform: translateZ(0);
	transition: transform 0.2s ease;
}

.lgs-resource-hub .topic-card:hover,
.lgs-topic-grid .topic-card:hover {
	transform: translateY(-2px);
}

.lgs-resource-hub .topic-overlay,
.lgs-topic-grid .topic-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
}

.lgs-resource-hub .topic-title,
.lgs-topic-grid .topic-title {
	position: relative;
	z-index: 2;
	color: #fff;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 21ch;
}

/* CTA Blocks */
.lgs-resource-hub .hero {
	position: relative;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 50px 15px;
	border-radius: var(--lgs-rh-radius);
	overflow: hidden;
	background-image: url('/wp-content/uploads/2026/05/Baking-Sourdough-Resource-Hub.webp');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.lgs-resource-hub .hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.lgs-resource-hub .hero-content {
	position: relative;
	max-width: 800px;
	padding: 20px;
	color: #fff;
}

.lgs-resource-hub .hero h1 {
	margin-bottom: 15px;
	font-size: clamp(2rem, 5vw, 3rem);
}

.lgs-resource-hub .hero p {
	margin-bottom: 20px;
	opacity: 0.9;
}

.lgs-resource-hub .hero .btn,
.lgs-resource-hub .cta-btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 30px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.25s ease;
}

.lgs-resource-hub .hero .btn {
	background: var(--lgs-rh-primary);
	color: #fff;
}

.lgs-resource-hub .hero .btn:hover {
	background: var(--lgs-rh-primary-hover);
}

.lgs-resource-hub .cta-hero {
	position: relative;
	min-height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: var(--lgs-rh-radius);
	overflow: hidden;
	background-image: url('/wp-content/uploads/2026/05/Ready-To-Sell-Your-Community.webp');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.lgs-resource-hub .cta-overlay {
	position: absolute;
	inset: 0;
	background: rgba(204, 85, 0, 0.45);
}

.lgs-resource-hub .cta-content {
	position: relative;
	color: #fff;
}

.lgs-resource-hub .cta-content h2 {
	margin-bottom: 25px;
	font-size: clamp(1.8rem, 4.5vw, 2.8rem);
}

.lgs-resource-hub .cta-btn {
	background: #fff;
	color: var(--lgs-rh-primary);
}

/* Responsive */
@media (max-width: 1024px) {
	.lgs-resource-hub .cards-wrap,
	.lgs-resource-hub .guide-list,
	.lgs-guide-list,
	body.lgs-resource-archive .guide-list,
	body.lgs-resource-archive .lgs-guide-list,
	body.lgs-resource-archive .posts,
	body.lgs-resource-archive .post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.lgs-resource-hub .topic-grid,
	.lgs-topic-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.lgs-resource-hub .triple-cards {
		padding: 28px 16px;
	}

	.lgs-resource-hub .cards-wrap {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.lgs-resource-hub .card-media {
		height: 200px;
	}
}

@media (max-width: 560px) {
	.lgs-resource-hub #resourceFilters,
	.lgs-resource-hub .lgs-resource-filters-form,
	.lgs-resource-hub .guide-list,
	.lgs-guide-list,
	body.lgs-resource-archive .guide-list,
	body.lgs-resource-archive .lgs-guide-list,
	body.lgs-resource-archive .posts,
	body.lgs-resource-archive .post-grid,
	.lgs-resource-hub .topic-grid,
	.lgs-topic-grid {
		grid-template-columns: 1fr;
	}
}
