/* RefComp 首页动态流专用样式（2026-11-13）
   注意：不要在此写 body / a / img / * 等全局规则，会覆盖 Porto 原版样式 */
.rc-feed-group { font-size: 12px; font-weight: 600; color: #969696; text-transform: uppercase;
	letter-spacing: 2px; margin: 12px 0 6px; padding: 0; border: 0;
	width: 100% !important; flex: 0 0 100%; }
.rc-feed-thumb figure { margin: 0 0 8px; padding: 0; border: 0; background: none; }
.rc-feed-thumb img { display: block; width: 100%; max-width: 100%; height: 150px;
	object-fit: cover; border-radius: 2px; }
.rc-feed-thumb img[src=""] { display: none; }
.rc-feed-thumb figure:has(img[src=""]) { display: none; }

/* 手机端单栏布局：图片按原比例完整显示，不裁切（2026-11-23） */
@media (max-width: 575.98px) {
	.rc-feed-thumb img { height: auto; object-fit: contain; background: #fff; }
}

/* 顶部导航当前栏目高亮（RefComp 主色 #56a8e1，JS 动态分配 class） */
#menu-refcomp > li.current-menu-item > a,
#menu-refcomp-1 > li.current-menu-item > a { color: #56a8e1 !important; font-weight: 700; }

/* 首页「LE NOSTRE APPLICAZIONI」轮播（owl.carousel） */
.rc-app-carousel .rc-app-slide { position: relative; }
.rc-app-carousel .rc-app-slide img { width: 100%; height: 240px; object-fit: cover;
	border-radius: 4px; display: block; transition: transform .3s ease; }
.rc-app-carousel .rc-app-slide:hover img { transform: scale(1.04); }
.rc-app-carousel .rc-app-caption { margin: 10px 0 0; font-size: 16px; font-weight: 600;
	color: #3e3e3e; text-align: center; }
.rc-app-carousel .owl-nav { position: absolute; top: 38%; width: 100%; margin: 0; }
.rc-app-carousel .owl-nav button.owl-prev,
.rc-app-carousel .owl-nav button.owl-next { position: absolute; font-size: 26px;
	color: #56a8e1; background: rgba(255,255,255,.85); border: 0; border-radius: 50%;
	width: 40px; height: 40px; line-height: 40px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.rc-app-carousel .owl-nav .owl-prev { left: -12px; }
.rc-app-carousel .owl-nav .owl-next { right: -12px; }
.rc-app-carousel .owl-dots { text-align: center; margin-top: 14px; }
.rc-app-carousel .owl-dots .owl-dot span { width: 10px; height: 10px; background: #ccc;
	border-radius: 50%; display: inline-block; margin: 0 4px; transition: background .2s; }
.rc-app-carousel .owl-dots .owl-dot.active span { background: #56a8e1; }
/* 去重箭头：theme.css 给 owl-nav 按钮加了 :before 图标，与 navText 注入的 <i> 重复，只留一套 */
.rc-app-carousel .owl-nav .owl-prev:before,
.rc-app-carousel .owl-nav .owl-next:before { content: none; }

/* About 页画廊：完整显示拼贴图（不被 240px 裁切），仅作用于 About 页的 custom-gallery */
.custom-gallery .rc-app-carousel .rc-app-slide img { height: auto; object-fit: contain; }

/* About 页通栏：原站该页主区域为 container-fluid，其余页面仍为 container */
.page-p-about-it > .container,
.page-p-about-en > .container,
.page-p-about-zh > .container { max-width: none; width: 100%;
	padding-left: 0; padding-right: 0; margin: 0; }

/* About 页「COME POSSIAMO AIUTARTI?」CTA 栏蓝色背景（原站 vc_custom_1697475034447） */
.vc_custom_1697475034447 { background-color: #56a8e1 !important; }

/* 产品详情页底部 CTA 栏蓝色背景（原站 vc_custom_1696596599590，与 Chi Siamo 同款） */
.vc_custom_1696596599590 { background-color: #56a8e1 !important; }

/* 新闻评论表单（复刻原版 WP comment-form） */
.comment-form p { margin-bottom: 1rem; }
.comment-form label { font-weight: 600; }
.comment-form textarea,
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url] { width: 100%; max-width: 100%; padding: 10px 12px; border: 1px solid #d5d5d5; border-radius: 4px; font-size: 14px; }
.comment-form textarea:focus,
.comment-form input[type=text]:focus,
.comment-form input[type=email]:focus,
.comment-form input[type=url]:focus { border-color: #56a8e1; outline: none; }
.sg-form-output { font-weight: 600; }

/* 产品系列/子页三列网格（对齐原站 CC Child Pages threecol + simple 皮肤） */
.ccchildpages { box-sizing: border-box; margin: 0 !important; padding: 0 !important;
	clear: both; display: block; width: 100%; }
.ccchildpage { box-sizing: border-box; margin: 1em 1%; padding: .75em 2%;
	display: block; float: left; background: #fff; border: 1px solid rgba(119,119,119,.2);
	border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.06); text-align: center; }
.ccfirst { clear: both; }
.cclast { margin-right: 0; float: right; }
.threecol .ccchildpage { width: 31.333%; }
.ccchildpage h3.ccpage_linked_title { font-size: 15px; font-weight: 700;
	line-height: 1.35; margin: 0 0 10px; min-height: 40px; }
.ccchildpage h3.ccpage_linked_title a { color: #3e3e3e; text-decoration: none; }
.ccchildpage h3.ccpage_linked_title a:hover { color: #56a8e1; }
.ccchildpage a.ccpage_linked_thumb { display: block; text-decoration: none; }
/* 缩略图固定 4:3 框（原站 WP 统一 300x225 硬裁剪），卡片尺寸不随图片比例变化 */
.ccchildpage a.ccpage_linked_thumb img { display: block; width: 100%; max-width: 260px;
	aspect-ratio: 4 / 3; height: auto; object-fit: cover; margin: 0 auto; border: 0; }
.ccchildpage .ccpages_more { text-align: right; font-size: 85%; font-style: italic; }
.ccchildpage .ccpages_more a { color: #56a8e1; text-decoration: none; }
@media (max-width: 991px) { .threecol .ccchildpage { width: 48%; } }
@media (max-width: 575px) { .threecol .ccchildpage { width: 98%; float: none;
	margin: 1em auto; } .cclast { float: none; } }

/* 系列壳页 banner 铺满全屏：原站该行为 VC data-vc-stretch-content 全宽行，图片横跨视口 */
.rc-full-banner img { display: block; width: 100vw; max-width: none; height: auto;
	position: relative; left: 50%; transform: translateX(-50%); }
/* 100vw 含滚动条宽度，防止出现横向滚动条 */
#main { overflow-x: hidden; }

/* ===== 新闻列表/详情（对齐原站 Porto 博客归档 blog-builder）===== */
.blog .main-content-wrap { margin-top: 17px; }
.blog .type-post { margin-bottom: 44px; }
.porto-blog-sidebar .sidebar-content { padding: 10px 0 85px; }
.single-post .sidebar-content { padding: 30px 0 50px; }
/* 列表项：meta（日期 / 评论 / 作者）大写小字 + 左竖线分隔 */
.rc-news-item .porto-tb-meta { font-size: 12.8px; font-weight: 500; text-transform: uppercase;
	line-height: 1; letter-spacing: 2px; color: #777777; }
.rc-news-item .tb-meta-published_date { padding-right: 3px; }
.rc-news-item .tb-meta-comments,
.rc-news-item .tb-meta-author { border-style: solid; border-width: 0 0 0 2px;
	border-color: #969696; padding-right: 3px; padding-left: 9px; }
.rc-news-item h4.post-title { margin-top: 10px; margin-bottom: 13px; font-size: 24px; }
.rc-news-item h4.post-title a { color: #3e3e3e; text-decoration: none; }
.rc-news-item h4.post-title a:hover { color: #00a335; }
.rc-news-item .rc-news-excerpt { margin-bottom: 6px; font-size: 16px; font-weight: 500; }
.rc-news-item .btn.rc-news-more { border-width: 0; padding: 0; background: transparent;
	font-size: 14.4px; font-weight: 600; text-transform: uppercase; line-height: 26px; color: #00a335; }
.rc-news-item .btn.rc-news-more:hover, .rc-news-item .btn.rc-news-more:focus { background-color: #fff;
	color: #00a335; box-shadow: none; }
/* 详情页：post-meta 分隔行、标题、正文与作者块 */
.rc-post-row { margin-bottom: 39px; }
.rc-post-col { padding-top: 27px; padding-bottom: 31px; }
.rc-post-meta { font-weight: 500; font-size: 12.8px; text-transform: uppercase; }
.rc-post-meta > span { margin-right: 8px; color: #777777; }
.rc-post-meta > span i, .rc-post-meta > span a { color: #777777; }
.rc-post-meta > span:after { color: rgba(119,119,119,0.3); margin-left: 8px; }
.rc-post-title { font-size: 26px; line-height: 38px; margin: 12px 0 18px; }
.rc-post-body img { max-width: 100%; height: auto; }
.rc-sep { border: 0; height: 1px; background-color: #e7e7e7; margin: 47px 0 49px; }
.post-block.post-author h3 { font-size: 21px; margin-bottom: 14px; }
.post-block.post-author .name a { line-height: 38px; }

/* ============================================================
   产品页（原版复刻）补充
   ============================================================ *//* 产品画廊缩略图：与原版 WP 300x225 硬裁剪等效（object-fit 裁切防变形） */
.wpb_image_grid_ul .isotope-item img { width: 300px; height: 225px; object-fit: cover; }
/* VC 参数表图片自适应宽度 */
.vc_tta-panel-body img { max-width: 100%; height: auto; }

/* ============================================================
   联系页 p-contact-it/en/zh（对齐原站 /contact/）
   原站 Porto per-page VC 动态样式（后台未迁移，落为静态规则）
   ============================================================ */
/* 深色大区块背景（左栏白字的底色，修复文字不可见） */
.vc_custom_1675858264111 { background-color: #5f6c77 !important; }
/* 区块间距 */
.vc_custom_1653441766717 { margin-bottom: 7px !important; }
.vc_custom_1653441925573 { margin-bottom: 7px !important; }
.vc_custom_1653439379470 { margin-top: 12px !important; }
.vc_custom_1697476838998 { margin-bottom: 38px !important; }
.vc_custom_1697476859847 { margin-bottom: 6px !important; }
.vc_custom_1697476886052 { margin-left: 2px !important; }
/* 右侧白色表单卡片 */
.vc_custom_1653593630418 { padding-top: 1.8rem !important; padding-right: 1.5rem !important;
	padding-bottom: 1.95rem !important; padding-left: 1.5rem !important;
	background-color: #ffffff !important; border-radius: 4px !important; }
/* 左栏标题组：CONTATTACI / Come possiamo aiutarti? */
.wpb_custom_019f285353d3f6748f1361c0a936a012.porto-u-heading .porto-u-main-heading > * { font-size: 16px; }
.wpb_custom_019f285353d3f6748f1361c0a936a012 .porto-u-sub-heading { font-weight: 700;
	font-size: 36.8px; letter-spacing: -1.84px; line-height: 1.2; }
/* CHIAMACI 电话行 */
.wpb_custom_b0d4638afeba84e4f80bfe0da77e9639 .porto-sicon-title { font-weight: 500;
	font-size: 16px; letter-spacing: 0px; }
/* SCRIVICI / DOVE SIAMO 小标题与内容 */
.wpb_custom_4e2460a77ce67ea4d6046affc75e2172.porto-u-heading .porto-u-main-heading > * { font-weight: 700;
	font-size: 14.4px; line-height: 30px; }
.wpb_custom_4e2460a77ce67ea4d6046affc75e2172 .porto-u-sub-heading { font-size: 18px; }
/* Request a Quote 大标题 */
.wpb_custom_9aa7ed6c767350afe851af1c02b6da03 .porto-u-sub-heading { font-weight: 700;
	font-size: 44px; letter-spacing: -2.2px; line-height: 1; }
/* 表单卡片内标题 */
.wpb_custom_c8b6a362afa38817d67a099210729f1f.porto-u-heading .porto-u-main-heading > * { font-size: 24px; }
/* 表单控件尺寸（原站 Porto per-page 设置） */
.wpb_custom_83d0422f3782a1b390103b5f0866e793 label { font-size: 14.4px; }
.wpb_custom_83d0422f3782a1b390103b5f0866e793 input[type="text"],
.wpb_custom_83d0422f3782a1b390103b5f0866e793 input[type="email"],
.wpb_custom_83d0422f3782a1b390103b5f0866e793 input[type="date"],
.wpb_custom_83d0422f3782a1b390103b5f0866e793 input[type="datetime"],
.wpb_custom_83d0422f3782a1b390103b5f0866e793 input[type="number"],
.wpb_custom_83d0422f3782a1b390103b5f0866e793 select { height: 48px; }
.wpb_custom_83d0422f3782a1b390103b5f0866e793 input[type="text"],
.wpb_custom_83d0422f3782a1b390103b5f0866e793 input[type="email"],
.wpb_custom_83d0422f3782a1b390103b5f0866e793 input[type="date"],
.wpb_custom_83d0422f3782a1b390103b5f0866e793 input[type="datetime"],
.wpb_custom_83d0422f3782a1b390103b5f0866e793 input[type="number"],
.wpb_custom_83d0422f3782a1b390103b5f0866e793 textarea,
.wpb_custom_83d0422f3782a1b390103b5f0866e793 .form-control,
.wpb_custom_83d0422f3782a1b390103b5f0866e793 select { font-size: 14.4px; }
.wpb_custom_83d0422f3782a1b390103b5f0866e793 button,
.wpb_custom_83d0422f3782a1b390103b5f0866e793 .btn,
.wpb_custom_83d0422f3782a1b390103b5f0866e793 input[type="button"],
.wpb_custom_83d0422f3782a1b390103b5f0866e793 input[type="submit"] { font-size: 12.8px;
	padding: 16px 48px 16px 48px; }
/* 深色区块通栏：本站 page.tpl 为 boxed+container 包裹，原站 #main 为 container-fluid，
   负外边距将区块左右拉至视口边缘（不改变行内定位上下文，SVG 装饰行为与原站一致） */
#contact-form { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
/* 联系页 #main 补偿：原站该页 #main 为 column1 wide（.main-content 上下 padding 归零），
   本站 page.tpl 嵌套两层 .main-content 各带 pb40 + pt20，产生区块上方 40px 与下方 80px 空白 */
.page-p-contact-it .main-content,
.page-p-contact-en .main-content,
.page-p-contact-zh .main-content { padding-top: 0; padding-bottom: 0; }
/* 隐私政策页 p-privacy-*：原站 #main 为 column1 boxed（单层 .main-content，上 20 下 40）；
   本站 page.tpl 双层嵌套各 20/40，会多出空白——归零两层后由 #content 补回原站总间距 */
.page-p-privacy-it .main-content,
.page-p-privacy-en .main-content,
.page-p-privacy-zh .main-content { padding-top: 0; padding-bottom: 0; }
.page-p-privacy-it #content,
.page-p-privacy-en #content,
.page-p-privacy-zh #content { padding-top: 20px; padding-bottom: 40px; }

/* ============================================================
   产品详情页右侧栏（对齐原站 right-sidebar widget 区）
   + 站内搜索 /search
   ============================================================ */
/* 侧栏容器（原站 .col-lg-3.sidebar.right-sidebar，sticky 由 Porto JS 处理） */
.rc-detail-body { padding-right: 15px; }
/* 搜索框（原站 WP 块搜索视觉） */
.rc-sidebar-search { display: block; margin-bottom: 10px; }
.rc-sidebar-search .rc-search-wrapper { position: relative; width: 100%; }
.rc-sidebar-search input[type="search"] {
	width: 100%; height: 44px; padding: 0 44px 0 14px;
	border: 1px solid #d9d9d9; border-radius: 4px; background: #fff;
	font-size: 13px; color: #333; outline: none;
	-webkit-appearance: none; appearance: none;
}
.rc-sidebar-search input[type="search"]:focus { border-color: #b0b0b0; }
.rc-sidebar-search button {
	position: absolute; top: 50%; right: 4px; transform: translateY(-50%);
	width: 36px; height: 36px; border: 0; background: transparent;
	color: #666; cursor: pointer; line-height: 0; padding: 0;
}
.rc-sidebar-search button:hover { color: #20a53a; }
/* widget 间距（原站 widget 间 30px，首个搜索框下方留白更大） */
.sidebar-content .widget { margin-bottom: 30px; }
.sidebar-content .widget_search { margin-bottom: 45px; }
/* widget 标题（原站截图：约 15px 粗体大写，深黑色） */
.sidebar-content .widget-title { font-size: 15px; margin-bottom: 18px; letter-spacing: 0; color: #222529; }
/* 菜单项（Porto widget 基础样式已有箭头/分隔线，这里对齐原站字号行高） */
.sidebar-content .widget_nav_menu ul.menu li { display: block; padding: 7px 0 7px 15px; font-size: 13px; }
.sidebar-content .widget_nav_menu ul.menu li a { color: #555; transition: color .2s; }
.sidebar-content .widget_nav_menu ul.menu li a:hover { color: #20a53a; }
/* 搜索结果页 */
.rc-search-page { padding: 10px 0 30px; }
.rc-search-title { font-size: 26px; font-weight: 700; margin-bottom: 22px; color: #222529; }
.rc-search-title span { color: #20a53a; }
.rc-search-results { list-style: none; padding: 0; margin: 0; border-top: 1px solid #ededed; }
.rc-search-results li { border-bottom: 1px solid #ededed; padding: 14px 2px; font-size: 15px; }
.rc-search-results li a { color: #2b2b2b; font-weight: 600; }
.rc-search-results li a:hover { color: #20a53a; }
.rc-search-empty { color: #777; font-size: 15px; }
/* 移动端：侧栏堆叠到主内容下方，间距收紧 */
@media (max-width: 991px) {
	.rc-detail-body { padding-right: 0; }
	.sidebar-content .widget_search { margin-bottom: 25px; }
	.rc-search-title { font-size: 22px; }
}

/* ============================================================
   首页时间轴轮播（wpostahs/slick）与产品系列 flexslider（20261118）
   ============================================================ */
/* slick 核心 .slick-slide{height:100%} 在年份导航上会把每张 slide 拉成与
   内容区等高（初始化时按首帧高度×数量计算 track 高度），导致箭头下沉、
   出现大片空白。这里恢复年份导航 slide 高度自适应（对齐原站紧凑布局） */
.wpostahs-slider-nav .slick-slide { height: auto !important; }
.wpostahs-slider-nav .slick-list { height: auto !important; }
/* 时间轴内容区文字颜色（原站 #777 灰、居中） */
.wpostahs-slider-for .wpostahs-centent { color: #777; font-size: 15px; }
.wpostahs-slider-for .wpostahs-centent-title { color: #222529; }

/* 产品详情页底部 CTA 蓝条（聯絡我們/Contact Us/Contattaci，vc_custom_1696943995780 按钮列）：
   row 负 margin 使列比蓝条背景右缘超出 12px，且列内 padding 为 0，按钮贴死蓝条边缘。
   补 27px 右内边距 = 15px 标准视觉间距 + 12px 列超出补偿（三语详情/系列页 body 通用） */
.vc_custom_1696943995780 > .vc_column-inner { padding-right: 27px; }
