/*
Theme Name:  Knox Child Theme
Description: Child theme for the Knox theme - personalizzazioni Infoaziende
Author:      ThemeMount
Author URI:  http://themeforest.net/user/thememount
Template:    knox
Version:     1.0.0
Requires PHP: 7.4
Tags:        light, white, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, responsive, retina
*/

/* NOTE: il style.css del tema padre e' gia' caricato nell'head. */

/* =====================================================================
   Personalizzazioni Infoaziende spostate dal tema padre (ottobre 2026)
   ===================================================================== */

/* --- da knox/css/base.css --- */
.hover-info > .vc_column-inner {
	height: 310px;
	overflow: hidden;
	position: relative;
}
.hover-info > .vc_column-inner:hover {
	height: auto;
}
.hover-info > .vc_column-inner:after {
	content: '';
	position: absolute;
	width: 100%;
	height: 50px;
	bottom: 0;
	left: 0;
	background: linear-gradient(rgba(255, 0, 0, 0), #787878);
}
.hover-info > .vc_column-inner:hover:after {
	background: linear-gradient(rgba(255, 0, 0, 0), rgba(255, 0, 0, 0));
}

.bdp-post-image-bg {
	aspect-ratio: 16/9 !important;
	width: 100% !important;
	overflow: hidden !important;
}
.bdp-post-image-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.bdp-post-short-content {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.thememount-box-blog-style3 .thememount-post-wrapper .tm-featured-wrapper {
	aspect-ratio: 16/9 !important;
	width: 100% !important;
	overflow: hidden !important;
}
.tm-noimg, img.size-full, img.size-large, img.wp-post-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- da knox/style.css --- */
@media screen and (min-width: 38.75em) {
	.headerlogo img {
		max-height: 35px !important;
	}
}

@media screen and (max-width: 768px) {
	a.tm-socialbox-icon-link.tm-socialbox-icon-link-gplus.tooltip-top {
		display: none !important;
	}
}

/* Nel tema originale queste regole erano finite (per errore) dentro "@media print",
   quindi a schermo non avevano effetto. Mantenute identiche per non cambiare l'aspetto. */
@media print {
	.rigatest {
		padding-top: 0px !important;
	}
	.test-news .vc_btn3-color-juicy-pink,
	.test-news .vc_btn3-color-juicy-pink:hover {
		color: #000000 !important;
		background-color: transparent !important;
	}
	.test-news .vc_btn3-color-juicy-pink:hover {
		border: transparent !important;
	}
	#menu-item-28758 {
		font-weight: 100 !important;
	}
}

/* =Theme customization starts here
-------------------------------------------------------------- */
