@media (max-width: 767px) {
	.home .wp-block-jetpack-slideshow,
		.home .wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container,
		.home .wp-block-jetpack-slideshow .swiper-wrapper,
		.home .wp-block-jetpack-slideshow .swiper-slide,
		.home .wp-block-jetpack-slideshow figure {
		height: 440px !important;
		height: clamp(400px, 62vh, 560px) !important;
	}
	
	.home .wp-block-jetpack-slideshow .swiper-pagination {
		top: auto !important;
		right: auto !important;
		bottom: 16px !important;
		left: 50% !important;
	}
}

.premium-hero {
	position: relative;
	overflow: hidden;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	background: #283b30;
}

.premium-hero .wp-block-jetpack-slideshow {
	margin: 0 !important;
}

.premium-hero .hero-copy {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	padding: 90px 8vw 70px !important;
	background: linear-gradient(0deg,rgba(17,35,25,.9),rgba(17,35,25,.45) 65%,transparent);
	pointer-events: none;
}

.premium-hero .hero-copy p {
	margin-top: 12px;
	margin-bottom: 16px;
	max-width: 650px;
}

.premium-hero .hero-copy h2 {
	margin-top: 10px;
	margin-bottom: 10px;
	max-width: 800px;
	line-height: 1.08;
}

.premium-hero .hero-copy .wp-block-button__link {
	pointer-events: auto;
	background: #283b30;
	border: 1px solid #c2a66c;
	color: #faf7ef;
}

.premium-hero .swiper-pagination {
	z-index: 5;
}

@media(min-width:768px) {
	.home .premium-hero .wp-block-jetpack-slideshow,.home .premium-hero .wp-block-jetpack-slideshow_container,.home .premium-hero .swiper-wrapper,.home .premium-hero .swiper-slide,.home .premium-hero figure {
		height: 620px !important;
	}
	
	.home .premium-hero img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
	}
}

@media(max-width:767px) {
	.home .premium-hero .wp-block-jetpack-slideshow,.home .premium-hero .wp-block-jetpack-slideshow_container,.home .premium-hero .swiper-wrapper,.home .premium-hero .swiper-slide,.home .premium-hero figure {
		height: 360px !important;
	}
	
	.premium-hero .hero-copy {
		padding: 30px 26px 48px !important;
	}
	
	.premium-hero .hero-copy h2 {
		font-size: 32px !important;
	}
	
	.premium-hero .hero-copy p {
		font-size: 16px !important;
		line-height: 1.4 !important;
		margin-top: 10px;
		margin-bottom: 12px;
	}
	
	.premium-hero .hero-copy p:first-child {
		font-size: 11px !important;
		letter-spacing: 1px;
	}
	
	.premium-hero .hero-copy .wp-block-button__link {
		font-size: 16px !important;
		padding: 10px 16px !important;
	}
	
	.premium-hero .swiper-button-prev,.premium-hero .swiper-button-next {
		display: none;
	}
}

@media(max-width:767px) {
	.home .premium-hero > .hero-copy {
		padding: 20px 26px 44px !important;
	}
	
	.home .premium-hero > .hero-copy h2 {
		font-size: 30px !important;
		line-height: 1.08 !important;
	}
	
	.home .premium-hero > .hero-copy p {
		margin-top: 8px !important;
		margin-bottom: 10px !important;
	}
	
	.home .premium-hero > .hero-copy .wp-block-buttons {
		margin-top: 14px !important;
	}
}

.home .premium-hero .wp-block-jetpack-slideshow_caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: auto;
	padding: 100px 8vw 65px !important;
	text-align: left;
	background: linear-gradient(0deg,rgba(17,35,25,.92),rgba(17,35,25,.45) 65%,transparent);
	color: #faf7ef;
	max-height: none;
	font-family: Times New Roman, Times, serif;
	box-sizing: border-box;
	white-space: normal;
}

.premium-hero .slide-kicker {
	display: block;
	font-size: 12px;
	letter-spacing: 1px;
	color: #e3cf9e;
	margin-bottom: 16px;
}

.premium-hero .slide-title {
	display: block;
	font-family: Playfair Display, Georgia, serif;
	font-size: 60px;
	font-weight: 400;
	line-height: 1.08;
	margin-bottom: 18px;
}

.premium-hero .slide-description {
	display: block;
	font-size: 18px;
	line-height: 1.5;
	margin-bottom: 22px;
}

.premium-hero .slide-cta {
	display: inline-block;
	background: #283b30;
	color: #faf7ef;
	border: 1px solid #c2a66c;
	border-radius: 4px;
	padding: 10px 17px;
	font-size: 17px;
	text-decoration: none;
}

@media(max-width:767px) {
	.home .premium-hero .wp-block-jetpack-slideshow_caption {
		padding: 55px 26px 42px !important;
	}
	
	.premium-hero .slide-title {
		font-size: 30px;
		margin-bottom: 12px;
	}
	
	.premium-hero .slide-kicker {
		font-size: 10px;
		margin-bottom: 12px;
	}
	
	.premium-hero .slide-description {
		font-size: 16px;
		line-height: 1.4;
		margin-bottom: 16px;
	}
	
	.premium-hero .slide-cta {
		font-size: 15px;
		padding: 9px 14px;
	}
}

.wp-block-navigation__responsive-container-open {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 5px 7px !important;
	color: #f1ede3 !important;
	min-width: 44px;
	min-height: 44px;
}

.wp-block-navigation__responsive-container-open svg {
	display: none;
}

.wp-block-navigation__responsive-container-open:before {
	content: "MENU";
	display: block;
	font-family: Times New Roman, Times, serif;
	font-size: 9px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 2px;
	color: #d6c397;
}

.wp-block-navigation__responsive-container-open:after {
	content: "";
	display: block;
	width: 26px;
	height: 15px;
	border-top: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	background: linear-gradient(currentColor,currentColor) center center / 100% 1px no-repeat;
	box-sizing: border-box;
}

.wp-block-navigation__responsive-container.is-menu-open {
	background: radial-gradient(ellipse at 100% 0%,rgba(173,145,88,.15),transparent 58%), linear-gradient(145deg,#203b2d,#142b20) !important;
	color: #faf7ef !important;
	padding: 28px !important;
}

.is-menu-open .wp-block-navigation__responsive-close {
	max-width: 620px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 76px !important;
	align-items: stretch !important;
	gap: 0 !important;
}

.is-menu-open .wp-block-navigation__responsive-container-content:before {
	content: "MENU · BERGAMO E DINTORNI";
	display: block;
	color: #c7b17d;
	font-family: Times New Roman, Times, serif;
	font-size: 10px;
	letter-spacing: 2px;
	line-height: 1.5;
	margin-bottom: 24px;
}

.is-menu-open .wp-block-navigation__container {
	width: 100%;
	gap: 0 !important;
	align-items: stretch !important;
}

.is-menu-open .wp-block-navigation-item {
	width: 100%;
	border-bottom: 1px solid rgba(194,166,108,.3);
	margin: 0 !important;
}

.is-menu-open .wp-block-navigation-item:first-child {
	border-top: 1px solid rgba(194,166,108,.3);
}

.is-menu-open .wp-block-navigation-item__content {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 16px 0 !important;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: background-color .2s, color .2s;
}

.is-menu-open .wp-block-navigation-item__label > span {
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	font-size: 30px !important;
	line-height: 1.2 !important;
	font-family: Playfair Display, Georgia, serif;
	font-weight: 400;
}

.is-menu-open .wp-block-navigation-item__content:after {
	content: "↗";
	font-family: Times New Roman, Times, serif;
	font-size: 20px;
	color: #c7b17d;
	padding-left: 16px;
}

.is-menu-open .wp-block-navigation-item__content:hover,.is-menu-open .wp-block-navigation-item__content:focus-visible {
	color: #e3cf9e !important;
	background-color: rgba(194,166,108,.07);
}

.is-menu-open .wp-block-navigation__responsive-container-content:after {
	content: "Appartamenti, case e finiture curate.";
	display: block;
	font-family: Times New Roman, Times, serif;
	font-style: italic;
	font-size: 16px;
	line-height: 1.5;
	color: #d7d9cf;
	margin-top: 30px;
	max-width: 260px;
}

.is-menu-open .wp-block-navigation__responsive-container-close {
	top: 0;
	right: 0;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(194,166,108,.5);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #e3cf9e;
}

.is-menu-open .wp-block-navigation__responsive-container-close svg {
	width: 20px;
	height: 20px;
}

@media(max-width:360px) {
	.is-menu-open .wp-block-navigation__responsive-container-content {
		padding-top: 54px !important;
	}
	
	.is-menu-open .wp-block-navigation-item__label > span {
		font-size: 27px !important;
	}
	
	.is-menu-open .wp-block-navigation-item__content {
		padding: 13px 0 !important;
	}
}

.service-menu-item {
	list-style: none;
	position: relative;
}

.service-menu-details {
	position: relative;
}

.service-menu-details summary {
	display: flex;
	align-items: center;
	gap: 9px;
	list-style: none;
	cursor: pointer;
	color: #faf7ef;
	border: 1px solid rgba(173,145,88,.6);
	border-radius: 4px;
	padding: 7px 13px;
	line-height: 1.25;
	font-family: Playfair Display, Georgia, serif;
	font-size: 20px;
}

.service-menu-details summary::-webkit-details-marker {
	display: none;
}

.service-menu-details summary:after {
	content: "⌄";
	color: #c7b17d;
	font-size: 19px;
}

.service-menu-details[open] summary:after {
	content: "⌃";
}

.service-menu-links {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 270px;
	z-index: 100;
	padding: 10px !important;
	margin: 0 !important;
	list-style: none;
	background: #203b2d;
	border: 1px solid rgba(194,166,108,.45);
	border-radius: 4px;
	box-shadow: 0 14px 32px rgba(0,0,0,.18);
}

.service-menu-links li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.service-menu-links a {
	display: block;
	padding: 11px 12px;
	color: #faf7ef;
	font-family: Times New Roman, Times, serif;
	font-size: 17px;
	line-height: 1.4;
	text-decoration: none;
}

.service-menu-links a:hover,.service-menu-links a:focus-visible {
	background: rgba(194,166,108,.12);
	color: #e3cf9e;
}

.is-menu-open .service-menu-item {
	width: 100%;
	border-bottom: 1px solid rgba(194,166,108,.3);
}

.is-menu-open .service-menu-details summary {
	width: 100%;
	box-sizing: border-box;
	justify-content: space-between;
	border: 0;
	border-radius: 0;
	padding: 13px 0;
	font-size: 27px;
	line-height: 1.2;
}

.is-menu-open .service-menu-details summary:after {
	content: "＋";
	font-size: 23px;
}

.is-menu-open .service-menu-details[open] summary:after {
	content: "−";
}

.is-menu-open .service-menu-links {
	position: static;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
	border: 0;
	border-left: 1px solid rgba(194,166,108,.4);
	border-radius: 0;
	box-shadow: none;
	padding: 0 0 0 12px !important;
	margin: 0 0 15px !important;
	background: rgba(12,28,20,.22);
}

.is-menu-open .service-menu-links li {
	border-bottom: 1px solid rgba(194,166,108,.18);
}

.is-menu-open .service-menu-links a {
	padding: 11px 8px;
	font-size: 17px;
}

@media(min-width:361px) {
	.is-menu-open .service-menu-details summary {
		padding: 16px 0;
		font-size: 30px;
	}
}header.wp-block-template-part > .wp-block-group{position:relative;padding-top:34px!important;padding-bottom:34px!important;background:radial-gradient(ellipse at 72% 0%,rgba(188,166,109,.12),transparent 60%),linear-gradient(115deg,#142b20 0%,#2c4937 52%,#193426 100%)!important;border-bottom:1px solid #a88d55!important;box-shadow:0 7px 24px rgba(16,34,23,.14);z-index:20}header.wp-block-template-part > .wp-block-group:before{content:"";position:absolute;top:10px;left:5vw;right:5vw;height:1px;background:linear-gradient(90deg,transparent,rgba(194,166,108,.55),transparent);pointer-events:none}header.wp-block-template-part > .wp-block-group:after{content:"";position:absolute;bottom:7px;left:5vw;right:5vw;height:1px;background:linear-gradient(90deg,rgba(194,166,108,.32),transparent);pointer-events:none}header .wp-block-site-title{margin:0!important;font-size:clamp(25px,2.5vw,34px)!important;line-height:1.18!important;letter-spacing:-.4px}header .wp-block-site-title:after{content:"APPARTAMENTI · CASE · FINITURE";display:block;font-family:Times New Roman,Times,serif;font-size:10px;line-height:1.6;font-weight:400;letter-spacing:2.3px;color:#c9b47e;margin-top:9px}header .wp-block-navigation-item__label > span{transition:background-color .2s,border-color .2s}header .wp-block-navigation-item__content:hover .wp-block-navigation-item__label > span{background:rgba(194,166,108,.09);border-color:#c2a66c!important}header.wp-block-template-part + main{margin-top:0!important}@media(min-width:768px){header .wp-block-navigation{font-size:18px!important}header .service-menu-details summary{font-size:18px}header .wp-block-navigation-item__label > span{padding:8px 14px!important}}@media(max-width:767px){header.wp-block-template-part > .wp-block-group{padding-top:24px!important;padding-bottom:24px!important}header .wp-block-site-title{font-size:23px!important;max-width:255px;letter-spacing:-.3px}header .wp-block-site-title:after{font-size:8px;letter-spacing:1.3px;margin-top:8px}header .wp-block-navigation__responsive-container-open{margin-left:12px!important}.is-menu-open .wp-block-navigation-item__label > span{padding:0!important}}
@media(max-width:767px){body.home main .premium-hero .wp-block-jetpack-slideshow,body.home main .premium-hero .wp-block-jetpack-slideshow_container,body.home main .premium-hero .swiper-wrapper,body.home main .premium-hero .swiper-slide,body.home main .premium-hero figure{height:360px!important;min-height:0!important;max-height:360px!important}body.home main .premium-hero img{height:100%!important;width:100%!important;object-fit:cover!important}}.projects-hero{position:relative;overflow:hidden;background:#203b2d;margin-top:0!important;margin-bottom:0!important}.projects-hero > figure{margin:0!important;height:560px}.projects-hero > figure img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 48%}.projects-hero .projects-hero-copy{position:absolute;left:0;right:0;bottom:0;padding:110px 5vw 58px!important;background:linear-gradient(0deg,rgba(13,32,22,.9),rgba(13,32,22,.35) 75%,transparent);box-sizing:border-box}.projects-hero-copy h1{max-width:940px;margin-top:14px!important;margin-bottom:18px!important;line-height:1.08!important}.projects-hero-copy p{max-width:750px;margin-top:8px!important;margin-bottom:0!important;line-height:1.5!important}.projects-gallery{gap:22px!important;align-items:flex-start}.projects-gallery figure.wp-block-image{margin:0!important;overflow:hidden;background:#faf7ef;border:1px solid #d6ccb6;border-radius:4px;box-shadow:0 4px 16px rgba(40,59,48,.05)}.projects-gallery figure.wp-block-image figcaption{position:static!important;background:none!important;color:#465445!important;font-family:Times New Roman,Times,serif;font-size:14px!important;line-height:1.45;padding:13px 15px!important;margin:0!important;box-sizing:border-box;max-height:none!important;text-align:left}.projects-gallery figure.wp-block-image img{width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover}#facciate,#interni,#bagni,#cantiere{scroll-margin-top:24px}@media(max-width:767px){.projects-hero > figure{height:420px}.projects-hero .projects-hero-copy{padding:70px 6vw 34px!important}.projects-hero-copy h1{font-size:38px!important}.projects-hero-copy p{font-size:17px!important}.projects-hero-copy p:first-child{font-size:11px!important}.projects-gallery{gap:16px!important}.projects-gallery figure.wp-block-image{width:calc(50% - 8px)!important;flex-grow:0!important}}@media(max-width:480px){.projects-gallery figure.wp-block-image{width:100%!important}}
.page-id-404 main h1,.page-id-404 main h2,.page-id-404 main h3{font-family:"Playfair Display",Georgia,serif!important}.projects-hero .projects-hero-copy > *{margin-left:0!important;margin-right:auto!important}.projects-gallery figure.wp-block-image figcaption{font-weight:400!important}
.wp-site-blocks .wp-block-heading,.wp-site-blocks .slide-title{font-family:"Playfair Display",Georgia,serif!important}.wp-site-blocks main p,.wp-site-blocks main li,.wp-site-blocks main summary,.wp-site-blocks main label,.wp-site-blocks main input,.wp-site-blocks main textarea{font-family:"Times New Roman",Times,serif}.wp-site-blocks main a:focus-visible,.wp-site-blocks summary:focus-visible{outline:2px solid #ad9158;outline-offset:4px}@media(max-width:767px){main .wp-block-group.alignfull[style*="padding-top:80px"]{padding-top:52px!important;padding-bottom:52px!important}}
/* Guide: titoli editoriali */
.single .wp-block-post-title,.archive .wp-block-post-title,.archive .wp-block-query-title{font-family:"Playfair Display",Georgia,serif!important;font-weight:400!important;color:#283b30}.single main{overflow-wrap:break-word}@media(max-width:767px){.single main>.wp-block-post-title{font-size:34px!important}.single .entry-content>.wp-block-group{padding-left:8px!important;padding-right:8px!important}}
/* Idee & Guide */
.premium-guide-grid .wp-block-post-title{font-family:"Playfair Display",Georgia,serif!important;font-weight:400!important}.premium-guide-grid .wp-block-post-title a{text-decoration:none!important;color:#283b30!important}.premium-guide-grid .wp-block-post-template{gap:28px!important;align-items:stretch}.premium-guide-grid .wp-block-post-template>li>.wp-block-group{height:100%;box-shadow:0 10px 28px rgba(35,52,39,.06);transition:transform .2s ease,box-shadow .2s ease;overflow:hidden}.premium-guide-grid .wp-block-post-template>li>.wp-block-group:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(35,52,39,.12)}.premium-guide-grid .wp-block-post-featured-image{margin:0!important}.premium-guide-grid .wp-block-post-featured-image img{width:100%;object-fit:cover}.premium-guide-grid .wp-block-read-more{display:inline-block;padding:9px 16px;border:1px solid #ad9158;border-radius:4px;background:#283b30;color:#faf7ef!important;text-decoration:none;font-size:16px!important}.premium-guide-grid .wp-block-post-excerpt{margin-bottom:24px}@media(max-width:900px){.premium-guide-grid .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:600px){.premium-guide-grid .wp-block-post-template{grid-template-columns:1fr!important;gap:24px!important}.premium-guide-grid .wp-block-post-title{font-size:27px!important}}
/* Grila larga editoriala */
#guide>.premium-guide-grid,.premium-guide-grid>.wp-block-post-template{max-width:none!important;width:100%!important}.premium-guide-grid .wp-block-post-title{overflow-wrap:normal;word-break:normal}.premium-guide-grid .wp-block-post-template>li{min-width:0}
/* Arhive editoriale pe servicii - 18 ottobre 2026 */
.premium-category-hero{background-size:cover!important;background-position:center!important;position:relative}
.premium-category-hero .wp-block-query-title{color:#faf7ef!important;font-family:Georgia,serif!important;font-size:0!important;max-width:950px!important}
.premium-category-hero .wp-block-query-title span{font-size:clamp(38px,5vw,68px);line-height:1.08;color:#faf7ef!important;display:block}
.premium-category .wp-block-term-description{max-width:1100px!important;margin-left:0!important;font-family:'Times New Roman',serif!important;line-height:1.7!important}
.premium-category .premium-guide-grid .wp-block-post-template{list-style:none!important;padding-left:0!important;max-width:none!important;width:100%!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))!important;gap:28px!important}
.premium-category .premium-guide-card{overflow:hidden;box-shadow:0 12px 35px rgba(40,59,48,.07);height:100%}
.premium-category .wp-block-post-featured-image img{display:block;width:100%!important;aspect-ratio:16/10!important;object-fit:cover!important}
.premium-category .wp-block-post-title a{color:#283b30!important;text-decoration:none!important}
.premium-category .wp-block-post-excerpt__more-link{display:inline-block;background:#283b30;color:#faf7ef!important;border:1px solid #ad9158;border-radius:4px;padding:10px 16px;font-size:16px;text-decoration:none!important}
.premium-category-directory{margin-bottom:32px!important}
.premium-category .wp-block-button__link,.premium-category-directory .wp-block-button__link{transition:background .2s,transform .2s}
.premium-category .wp-block-button__link:hover,.premium-category-directory .wp-block-button__link:hover{background:#3b5545!important;transform:translateY(-2px)}
.category-ristrutturazione-appartamenti .premium-category-hero{background-image:linear-gradient(90deg,rgba(24,46,34,.95),rgba(24,46,34,.72)),url('https://ristrutturazioniappartamentibergamo.com/wp-content/uploads/2026/10/33.jpeg')!important}
.category-ristrutturazione-case .premium-category-hero{background-image:linear-gradient(90deg,rgba(24,46,34,.95),rgba(24,46,34,.72)),url('https://ristrutturazioniappartamentibergamo.com/wp-content/uploads/2026/10/45-1.jpeg')!important}
.category-bagni-cucine .premium-category-hero{background-image:linear-gradient(90deg,rgba(24,46,34,.95),rgba(24,46,34,.72)),url('https://ristrutturazioniappartamentibergamo.com/wp-content/uploads/2026/10/87.jpeg')!important}
.category-finiture-decorazioni .premium-category-hero{background-image:linear-gradient(90deg,rgba(24,46,34,.95),rgba(24,46,34,.72)),url('https://ristrutturazioniappartamentibergamo.com/wp-content/uploads/2026/10/3-1.jpeg')!important}
.category-pavimenti-rivestimenti .premium-category-hero{background-image:linear-gradient(90deg,rgba(24,46,34,.95),rgba(24,46,34,.72)),url('https://ristrutturazioniappartamentibergamo.com/wp-content/uploads/2026/10/86.jpeg')!important}
.category-facciate-esterni .premium-category-hero{background-image:linear-gradient(90deg,rgba(24,46,34,.95),rgba(24,46,34,.72)),url('https://ristrutturazioniappartamentibergamo.com/wp-content/uploads/2026/10/38-1.jpeg')!important}
@media(max-width:767px){.premium-category-hero{padding-top:44px!important;padding-bottom:40px!important}.premium-category .wp-block-term-description{font-size:18px!important}.premium-category .premium-guide-grid .wp-block-post-template{grid-template-columns:1fr!important}.premium-category .wp-block-button__link,.premium-category-directory .wp-block-button__link{font-size:14px!important;padding:10px 13px!important}.premium-category .wp-block-post-title{font-size:27px!important}.premium-category .wp-block-query-pagination{gap:20px}}

.premium-category-hero .wp-block-query-title{margin-left:0!important;margin-right:auto!important;text-align:left!important}
@media(min-width:900px){.premium-category .wp-block-post-template>li:only-child>.premium-guide-card{display:grid;grid-template-columns:1.15fr 1fr;align-items:center}.premium-category .wp-block-post-template>li:only-child .wp-block-post-featured-image{height:100%;margin:0}.premium-category .wp-block-post-template>li:only-child .wp-block-post-featured-image a{height:100%;display:block}.premium-category .wp-block-post-template>li:only-child .wp-block-post-featured-image img{height:100%!important;min-height:360px}}

.category-guide-e-consigli .premium-category-hero{background-image:linear-gradient(90deg,rgba(24,46,34,.95),rgba(24,46,34,.72)),url("https://ristrutturazioniappartamentibergamo.com/wp-content/uploads/2026/10/24-1.jpeg")!important}

/* CristEdil Bergamo — identità dorata */
header.wp-block-template-part .cristedil-brand{display:flex;align-items:center;gap:14px;flex-shrink:0;text-decoration:none!important;color:#d9bc76;max-width:340px;}
.cristedil-brand__logo{display:block;width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 2px 3px rgba(0,0,0,.25));}
.cristedil-brand__wordmark{display:flex;flex-direction:column;align-items:center;line-height:1;}
.cristedil-brand__name{font-family:Georgia,'Times New Roman',serif;font-weight:700;font-size:30px;letter-spacing:.075em;color:#dfbf73;background:linear-gradient(180deg,#fff0bc 0%,#d3ad56 32%,#f8e8a5 45%,#a7792f 55%,#e4c777 78%,#c09a48 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 1px 0 #704e22) drop-shadow(0 2px 2px rgba(0,0,0,.35));}
.cristedil-brand__place{font-family:Georgia,'Times New Roman',serif;font-size:13px;font-weight:600;letter-spacing:.38em;padding-left:.38em;margin-top:10px;color:#e0c483;text-shadow:0 1px 1px #654d24;}
.cristedil-brand__place:after{content:'';display:block;width:44px;height:1px;margin:9px auto 0;background:linear-gradient(90deg,transparent,#cfad63,transparent);}
.cristedil-brand:focus-visible{outline:2px solid #e0c483;outline-offset:6px;}
@media(max-width:1100px){header.wp-block-template-part .cristedil-brand{gap:10px}.cristedil-brand__logo{width:62px;height:62px}.cristedil-brand__name{font-size:25px}.cristedil-brand__place{font-size:11px;}}
@media(max-width:600px){header.wp-block-template-part .cristedil-brand{gap:10px;max-width:calc(100% - 50px)}.cristedil-brand__logo{width:57px;height:57px}.cristedil-brand__name{font-size:22px;letter-spacing:.055em}.cristedil-brand__place{font-size:10px;letter-spacing:.3em;margin-top:7px}.cristedil-brand__place:after{margin-top:7px;width:34px}}
@media(max-width:360px){header.wp-block-template-part .cristedil-brand{gap:7px}.cristedil-brand__logo{width:46px;height:46px}.cristedil-brand__name{font-size:19px}.cristedil-brand__place{font-size:9px;}}

/* CristEdil — modulo progetto */
.cristedil-project-form{display:grid!important;grid-template-columns:1fr 1fr;gap:22px 20px!important;}
.cristedil-project-form>.grunion-field-wrap{min-width:0;width:100%!important;margin:0!important;}
.cristedil-project-form>.grunion-field-email,.cristedil-project-form>.grunion-field-textarea-wrap,.cristedil-project-form>.wp-block-jetpack-field-textarea,.cristedil-project-form>.wp-block-jetpack-button{grid-column:1/-1;}
.cristedil-project-form label{font-family:Georgia,serif!important;font-size:15px!important;line-height:1.5!important;color:#203b2d!important;margin-bottom:8px!important;}
.cristedil-project-form .grunion-label-required{font:11px 'Times New Roman',serif!important;color:#7c806e;margin-left:5px;}
.cristedil-project-form input,.cristedil-project-form textarea{box-sizing:border-box;width:100%!important;max-width:100%!important;background:#fffdf7!important;border-color:#cbbb98!important;color:#203b2d!important;padding:13px 14px!important;min-height:49px;font:17px/1.5 'Times New Roman',serif!important;box-shadow:inset 0 2px 4px rgba(32,59,45,.025);transition:border-color .2s,box-shadow .2s;}
.cristedil-project-form textarea{min-height:150px;resize:vertical;}
.cristedil-project-form input:focus,.cristedil-project-form textarea:focus{outline:2px solid #ba9d62;outline-offset:2px;background:#fff!important;}
.cristedil-project-form button[type=submit]{background:linear-gradient(120deg,#294a38,#203b2d)!important;color:#f9efda!important;border:1px solid #b99c62!important;border-radius:5px!important;padding:15px 23px!important;font:16px Georgia,serif!important;box-shadow:0 5px 14px rgba(32,59,45,.1);}
@media(max-width:600px){.cristedil-project-form{grid-template-columns:1fr;gap:20px!important}.cristedil-project-form>*{grid-column:1!important}.cristedil-project-form button[type=submit]{width:100%;}}

.cristedil-project-form>.grunion-field-wrap:nth-child(5){grid-column:1/-1;}

/* CristEdil — cornice del modulo */
body.page-id-52 .wp-block-group:has(>.cristedil-project-form){border:1px solid #385a45!important;border-top:5px solid #294b38!important;border-radius:10px!important;background:linear-gradient(145deg,#fffdf7,#f5f0e4)!important;padding:clamp(24px,3vw,40px)!important;box-shadow:0 16px 40px rgba(24,54,37,.12),0 0 0 5px rgba(48,81,59,.035)!important;}
body.page-id-52 .wp-block-group:has(>.cristedil-project-form)>h2{color:#244631!important;padding-bottom:20px;border-bottom:1px solid #c8b78f;margin-bottom:25px!important;}
.cristedil-project-form input,.cristedil-project-form textarea{border-color:#91a18b!important;background:#fffefa!important;}

/* CristEdil — cornice del modulo */
body.page-id-52 .wp-block-group:has(>.jetpack-contact-form-container){border:1px solid #385a45!important;border-top:5px solid #294b38!important;border-radius:10px!important;background:linear-gradient(145deg,#fffdf7,#f5f0e4)!important;padding:clamp(24px,3vw,40px)!important;box-shadow:0 16px 40px rgba(24,54,37,.12),0 0 0 5px rgba(48,81,59,.035)!important;}
body.page-id-52 .wp-block-group:has(>.jetpack-contact-form-container)>h2{color:#244631!important;padding-bottom:20px;border-bottom:1px solid #c8b78f;margin-bottom:25px!important;}
.cristedil-project-form input,.cristedil-project-form textarea{border-color:#91a18b!important;background:#fffefa!important;}
