/**
 * Single post template – top bar, article header, featured image, content, related posts.
 */

.dch-single-post {
	background: #fff;
}
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif;
}
.dch-single-post__featured img {
    display: block;
    object-fit: cover;
    width: 100%;
    aspect-ratio: 1440 / 548;
}
  .out-container{
	 width: 100%;
    max-width: 1440px;
    margin: 0 auto;
	padding-left: 50px !important;
	padding-right: 50px !important;
 }
/* ----- Top bar: breadcrumbs + search ----- */
.dch-single-post__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 30px 0;
}

.dch-single-post__breadcrumbs {
	font-size: 15px;
	line-height: 1.4;
}

.dch-single-post__breadcrumbs a, .dch-single-post__breadcrumb-current {
    color: #33A0FF;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
}

.dch-single-post__breadcrumbs a:hover {
	text-decoration: underline;
}

.dch-single-post__breadcrumb-sep {
	color: #33A0FF;
	margin: 0 6px;
	opacity: 0.8;
}

.dch-single-post__search-wrap {
	display: flex;
	align-items: center;
	position: relative;
	/* min-width: 200px;
	max-width: 320px; */
}

.dch-single-post__search-icon {	
	pointer-events: none;
	position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: #33A0FF;
    pointer-events: none;
    width: 22px;
    height: 22px;
}

.dch-single-post__search-wrap .screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	overflow: hidden;
	position: absolute;
}

 .dch-single-post__search-input {   
    padding: 12px 30px 12px 68px;
    background: #fff;
    border: 2px solid #33A0FF;
    border-radius: 999px;
    font-size: 20px;
    font-weight: 500;
    font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif;
    color: #33A0FF;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.dch-single-post__search-input::placeholder {
	color: #33A0FF;
}

.dch-single-post__search-input:focus {
	outline: none;
	box-shadow: none;
	color: #33A0FF;
	border: 2px solid #33A0FF;
}

/* ----- Container ----- */

/* ----- Article header ----- */
.dch-single-post__header {
	margin-bottom: 42px;
}

.dch-single-post__categories {
    font-size: 20px;
    color: #494949;
	font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.2;
    padding-bottom: 0;
}

.dch-single-post__title {
    font-size: 40px;
    font-weight: 900;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.2;
    padding-bottom: 0;
}

.dch-single-post__meta {
    font-size: 25px;
    color: #494949;
    margin: 0;
    line-height: 1.2;
    font-weight: 500;
}

/* ----- Featured image ----- */
.dch-single-post__featured {
	/* margin: 0 -24px 32px; */
	/* border-radius: 0; */
	overflow: hidden;
}

.dch-single-post__featured img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* ----- Main content ----- */
.dch-single-post__content {
	font-size: 18px;
	line-height: 1.6;
	color: #333;
}

/* .dch-single-post__content p {
	margin: 0 0 1em 0;
} */

.dch-single-post__content h2,
.dch-single-post__content h3 {
	margin: 1.5em 0 0.5em;
	font-weight: 600;
}

.dch-single-post__content ul,
.dch-single-post__content ol {
	margin: 1em 0;
	padding-left: 1.5em;
}

/* ----- Related posts ----- */
.dch-single-post__related {
	margin-top: 80px;
	
}

.dch-single-post__related-title {
	font-size: 40px;
	font-weight: 900;
	padding-bottom: 0;
	color: #000;
	margin-bottom: 34px;
	font-family: 'Inter', Helvetica, Arial, Lucida, sans-serif;
}

.dch-single-post__related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.dch-single-post__related-card.content-card {
	padding: 25px;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	border: 1px solid #eee;
}

.dch-single-post__related-card .content-card-image-wrap {
	position: relative;
	aspect-ratio: 16 / 8;
	overflow: hidden;
}

.dch-single-post__related-card .content-card-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 15px;
}

.dch-single-post__related-card .content-card-title {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0;
	padding: 16px;
	font-size: 25px;
	line-height: 1.3;
}

.dch-single-post__related-card .content-card-title a {
	color: #fff;
	text-decoration: none;
	
}

.dch-single-post__related-card .content-card-body {
	padding-top: 25px;
}

.dch-single-post__related-card .content-card-category {
	font-size: 25px;
	font-weight: 700;
	color: #000;
	
}

.dch-single-post__related-card .content-card-description {
	font-size: 25px;
	font-weight: 400;
	color: #494949;
	line-height: 1.2;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.non-perdere-section-content h2 {
    font-size: 35px;
    font-weight: 900;
    color: #000;
}
.non-perdere-section {
    background-position: center bottom 0px;
    background-image: linear-gradient(270deg, rgba(28, 141, 255, 0) 2%, rgba(58, 156, 255, 0.52) 41%, #ffffff 100%), url(http://hellosrl.local/wp-content/uploads/2026/02/non-perdere-img2.png) !important;
    padding: 78px 0px;
	 margin-top: 90px;
	 
	 background-repeat: no-repeat;
    background-size: cover;
}
.non-perdere-section-content > p {
    font-size: 20px;
    font-weight: 500;
    color: #000;
	margin-bottom: 28px;
}
.non-perdere-section .non-perdere-section-content {
    width: 100%;
    max-width: 700px;
}
.Mettiamoci-in-contatto-section {
    margin-top: 100px;
    margin-bottom: 100px;
    background-color: #ffffff !important;
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.2);
    padding: 55px 0;
	position: relative;
}
.inner-content-wrap h2 {
    font-size: 35px;
    font-weight: 900;
    color: #000;
    margin-bottom: 40px;
    padding-bottom: 0;
}
.inner-content-wrap p {
    font-size: 20px;
    font-weight: 500;
    color: #494949;
    margin-bottom: 40px;
}
.btn-primary:hover {
    background: #fff;
    color: #33A0FF;
}
.btn-primary {
    background: #33A0FF;
    border: 2px solid #33A0FF;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    padding: 12px 50px;
    border-radius: 50px;
    min-width: 400px;
	transition: all 0.3s ease;
	cursor: pointer;
}
.inner-content-wrap {
    text-align: center;
}
.left-design {
    background: linear-gradient(270deg, rgb(164 209 255) 0%, rgb(220 237 255) 100%) !important;
    position: absolute;
    top: -36px;
    min-height: 73px;
    width: 100%;
    max-width: 250px;
}
.right-design {
    background: linear-gradient(90deg, rgb(164 209 255) 0%, rgb(220 237 255) 100%) !important;
    position: absolute;
    bottom: -36px;
    right: 0;
    height: 73px;
    width: 100%;
    max-width: 250px;
}
.left-design:before {
    content: '';
    position: absolute;
    right: -38px;
    top: 0;
    width: 70px;
    height: 100%;
    transform: skewX(-30deg);
    border-radius: 0 6px 6px 0;
    background: #b0d5ff;
}
.right-design:before {
    content: '';
    position: absolute;
    left: -26px;
    top: 0;
    width: 70px;
    height: 100%;
    transform: skewX(-30deg);
    border-radius: 6px 0px 0px 6px;
    background: #b0d5ff;
}

@media (max-width: 980px) {
	.dch-single-post__related-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.dch-single-post__breadcrumbs a, .dch-single-post__breadcrumb-current{
        font-size: 16px;
    }
     .out-container {
    padding-left: 30px !important;
    padding-right: 30px !important;
}
	.dch-single-post__container{
		padding-left: 0px;
		padding-right: 0px;
	}
    .dch-single-post__related {
    margin-top: 50px;
}	

	.dch-single-post__featured {
		margin-left: -16px;
		margin-right: -16px;
	}
}
