/* Barra verde — Blog/FAQ accanto al claim, a destra */
.whb-top-bar .whb-col-mobile.whb-hidden-lg {
	display: none !important;
}

.whb-top-bar .whb-col-right.whb-visible-lg {
	display: flex !important;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	gap: 1rem;
	margin-left: auto;
}

.whb-top-bar .whb-top-bar-inner {
	justify-content: flex-end;
}

.whb-top-bar .wd-header-text {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding-left: 0.85rem;
	border-left: 1px solid rgba(255, 255, 255, 0.45);
	color: #fff !important;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-transform: none;
	white-space: nowrap;
	opacity: 0.95;
}

.whb-top-bar .wd-header-text a {
	color: #fff !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.whb-top-bar .cp-top-menu {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

.whb-top-bar .cp-top-menu__link,
.whb-top-bar .cp-top-menu a,
.whb-top-bar .cp-top-menu .cp-top-menu__list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 26px;
	padding: 0.28rem 0.75rem;
	border: 1px solid rgba(16, 87, 30, 0.15);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.96);
	color: #10571e !important;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none !important;
	line-height: 1;
	box-shadow: 0 1px 2px rgba(16, 87, 30, 0.12);
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.whb-top-bar .cp-top-menu__link:hover,
.whb-top-bar .cp-top-menu a:hover,
.whb-top-bar .cp-top-menu .cp-top-menu__list a:hover {
	background: #fff;
	color: #0a3d14 !important;
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(16, 87, 30, 0.18);
}

.whb-top-bar .cp-top-menu__link.is-active,
.whb-top-bar .cp-top-menu .current-menu-item > a,
.whb-top-bar .cp-top-menu .current_page_item > a {
	background: #10571e;
	border-color: #10571e;
	color: #fff !important;
	box-shadow: 0 2px 6px rgba(16, 87, 30, 0.28);
}

.whb-top-bar .cp-top-menu .cp-top-menu__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.whb-top-bar .cp-top-menu .menu-item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.whb-top-bar .cp-top-menu .sub-menu {
	display: none;
}

@media (max-width: 1024px) {
	.whb-top-bar .whb-col-right.whb-visible-lg {
		display: none !important;
	}

	.whb-top-bar .whb-col-mobile.whb-hidden-lg {
		display: flex !important;
		justify-content: center;
		width: 100%;
	}

	.whb-top-bar .whb-col-mobile .wd-header-text {
		font-size: 11px;
		text-align: center;
	}
}

/* Blog — no sidebar, testata, chip */
body.page-blog .wd-sidebar,
body.page-blog #sidebar,
body.page-blog .sidebar-container,
.cp-blog-listing .wd-sidebar,
.cp-blog-listing #sidebar,
.cp-blog-listing .sidebar-container,
body.blog .wd-sidebar,
body.category .wd-sidebar,
.cp-faq-page .wd-sidebar,
.single-post .wd-sidebar {
	display: none !important;
}

.cp-blog-listing .wd-content-area,
body.page-blog .wd-content-area,
.cp-faq-page .wd-content-area,
.single-post .wd-content-area {
	max-width: 100% !important;
	flex: 0 0 100% !important;
	width: 100% !important;
}

.cp-blog-listing .wd-page-title,
body.page-blog .wd-page-title {
	display: none !important;
}

.cp-blog-archive-head {
	max-width: 1100px;
	margin: 0 auto 2.5rem;
	padding: 2.5rem 1rem 0;
	text-align: center;
}

.cp-blog-archive-head__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #5a6472;
}

.cp-blog-archive-head__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.75rem, 4vw, 2.4rem);
	line-height: 1.15;
	text-transform: uppercase;
}

.cp-blog-archive-head__intro {
	margin: 0 auto 1.75rem;
	max-width: 40rem;
	color: #4a5560;
	line-height: 1.6;
}

.cp-blog-filters__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
}

.cp-blog-filters__chip {
	display: inline-flex;
	padding: 0.45rem 1rem;
	border: 1px solid #cfd6cc;
	background: #fff;
	color: #1a1a1a;
	text-decoration: none;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.cp-blog-filters__chip:hover,
.cp-blog-filters__chip.is-active {
	background: #7ed321;
	border-color: #7ed321;
	color: #143300;
}

.cp-blog-listing .wd-post-date,
.cp-blog-listing .wd-post-reply {
	display: none !important;
}

.cp-blog-listing .wd-post-cat {
	display: block !important;
}

.cp-blog-empty {
	text-align: center;
	padding: 2rem 1rem 4rem;
	color: #555;
}

/* Paginazione blog — fallback se il tema non applica nav.wd-pagination */
.cp-blog-listing .wd-loop-footer {
	margin-top: 2.5rem;
	margin-bottom: 2rem;
	text-align: center;
}

.cp-blog-listing .wd-loop-footer .wd-pagination ul.page-numbers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 4px;
}

.cp-blog-listing .wd-loop-footer .wd-pagination li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cp-blog-listing .wd-loop-footer .wd-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 8px;
	border-radius: 4px;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.cp-blog-listing .wd-loop-footer .wd-pagination a.page-numbers:hover {
	background: #e8ede4;
	color: #10571e;
}

.cp-blog-listing .wd-loop-footer .wd-pagination .page-numbers.current {
	background: #7ed321;
	color: #143300;
}

.cp-blog-listing .wd-loop-footer .wd-pagination .page-numbers.dots {
	min-width: auto;
	background: transparent;
}

.cp-faq-page .entry-content,
.cp-faq-page .wd-entry-content {
	max-width: 820px;
	margin: 0 auto;
	padding: 1rem 1.25rem 3rem;
}

.cp-faq-index {
	margin: 0 0 1.75rem;
}

.cp-faq-acc {
	border: 1px solid #e2e6e0;
	margin: 0 0 0.6rem;
	background: #fff;
}

.cp-faq-acc summary {
	cursor: pointer;
	padding: 0.9rem 1rem;
	font-weight: 600;
}

.cp-faq-acc__a {
	padding: 0 1rem 1rem;
	color: #444;
	line-height: 1.6;
}
