/* =====================================================================
   BugSmash revisions — Flowlu task 6454 (align staging with production)
   ===================================================================== */


/* ---------- Production font faces ----------
   lattuada-na.com renders text with these single-weight Montserrat files and lets the
   browser synthesise bold on top. Used below where the staging weight looked heavier. */
@font-face { font-family: "LNA Montserrat Light"; src: url("../fonts/Montserrat-Light.ttf") format("truetype"); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: "LNA Montserrat Regular"; src: url("../fonts/Montserrat-Regular.ttf") format("truetype"); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: "LNA Montserrat Medium"; src: url("../fonts/Montserrat-Medium.ttf") format("truetype"); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: "LNA Montserrat SemiBold"; src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype"); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: "LNA Montserrat Bold"; src: url("../fonts/Montserrat-Bold.ttf") format("truetype"); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: "LNA Montserrat ExtraBold"; src: url("../fonts/Montserrat-ExtraBold.ttf") format("truetype"); font-weight: normal; font-style: normal; font-display: swap; }

/* ---------- Header / menu (#1 responsiveness, #12 request button, #13 search) ---------- */
@media (min-width: 1200px) {
  .main-nav .nav-link { font-size: 13px; font-weight: 400; letter-spacing: normal; padding-left: 6px !important; padding-right: 6px !important; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .main-nav .nav-link { font-size: 12px; padding-left: 4px !important; padding-right: 4px !important; }
  .main-nav .navbar-brand img { max-width: 170px; height: auto; }
}
.site-header .search-toggle, .site-header .search-toggle i { color: #009746 !important; font-size: 18px; }
.site-header .search-toggle:hover i { color: #005b28 !important; }

/* ---------- Home ---------- */
/* #2 no gap between hero and striped band */
.vs-line-img { margin-top: -0.712%; position: relative; }
/* #3 no green line under "Our adding value solutions" */
.value-solutions h2::after { content: none !important; display: none !important; }
/* #4 no hover animation/glitch on the solution boxes (instant swap like live) */
.vs-photo-img { transform: none !important; transition: none !important; }
.vs-photo::after, .vs-icon img, .vs-label { transition: none !important; }
.value-solutions.in .vs-item { transition: opacity .6s ease var(--d), transform .6s cubic-bezier(.2,.8,.2,1) var(--d) !important; }
/* #5 intro text weight/leading as live */
.na-text { font-family: "LNA Montserrat Medium", Montserrat, sans-serif; font-weight: 700; line-height: 28px; }
/* #6 lower Discover button */
.na-btn { padding: 8px 15px; }
/* #7 "LATTUADA NA" always on one line, title size as live */
.why-title { font-family: "LNA Montserrat Bold", Montserrat, sans-serif; font-weight: 400; font-size: 30px; line-height: 28px; letter-spacing: -2.25px; }
.why-title span { white-space: nowrap; font-size: inherit; line-height: inherit; }
/* #8 sub-title weight */
.why-sub { font-family: "LNA Montserrat Medium", Montserrat, sans-serif; font-weight: 400; }
/* #9 newsletter Submit uses the main blue */
footer .wpcf7 input.footer-submit, footer .footer-submit { background: #14396d !important; border-radius: 4.8px; }
footer .wpcf7 input.footer-submit:hover, footer .footer-submit:hover { background: #0f2c55 !important; }
/* #11 social icons as live (grey tiles, 22px) */
.footer-social { gap: 5px; }
.footer-social a { width: auto; height: auto; background: none !important; border-radius: 0; padding: 0; }
.footer-social a:hover { background: none !important; opacity: .8; }
.footer-social a img { width: 22px; height: 22px; }
/* #10 floating Request Info: live icon + font */
a.request-info-tab .request-info-icon { width: 38px; height: 40px; display: block; margin-bottom: 6px; }
a.request-info-tab span { font-size: 18px; font-weight: 400; line-height: 20px; text-transform: uppercase; letter-spacing: normal; }

/* ---------- Contacts ---------- */
/* #40 "Contacts us" smaller, not bold */
.page-id-10800 .wwd-form-title { font-family: "LNA Montserrat Medium", Montserrat, sans-serif; font-size: 26px; font-weight: 400; line-height: 28px; letter-spacing: -1.3px; color: #1a1a1a; }
/* #38 "The Headquarter" all capitals */
.hq-title { font-family: "LNA Montserrat Bold", Montserrat, sans-serif; font-weight: 400; text-transform: uppercase; font-size: 45px; line-height: 38px; letter-spacing: -2.25px; }
/* #39 contact list labels: no heavy bold */
.ct-label { font-family: "LNA Montserrat Regular", Montserrat, sans-serif; font-weight: 600; color: #000; }
.ct-group, .ct-group a { color: #3b3b3b; }
/* #41 / #30 form fields as live: same placeholder colour for all fields incl. the department select */
.wpcf7 ::placeholder { color: #8a8a8a; opacity: 1; }
.wpcf7 select.wpcf7-select { color: #333; }
.wpcf7 select.wpcf7-select:has(option:first-child:checked) { color: #8a8a8a; }
.wpcf7 textarea { height: 134px; min-height: 134px; }
/* native department select styled like the other fields */
.wpcf7 select.wpcf7-select { display: block !important; width: 100%; height: 54px; padding: 0 16px; background-color: #f5f5f5; border: 1px solid #f5f5f5; border-radius: 6px; font-size: 15px; font-family: inherit; }

/* ---------- Services ---------- */
/* #15 intro sub-title weight */
.svc-intro-sub { font-family: "LNA Montserrat Medium", Montserrat, sans-serif; font-weight: 400; font-size: 26px; line-height: 28px; letter-spacing: -1.3px; }
/* #16 "List of services" title + panel transparency and size as live */
.svc-list-top h2 { font-family: "LNA Montserrat Bold", Montserrat, sans-serif; font-weight: 400; font-size: 60px; line-height: 55px; letter-spacing: -3px; }
.svc-list-items { background: rgba(255,255,255,.7); padding: 45px; }
@media (min-width: 992px) { .svc-list-main { width: 539px; } }
/* #17 no division line between services */
.svc-item { border-bottom: 0 !important; padding-bottom: 0; }
/* #18 service titles: size/colour as live */
.svc-item h3 { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 26px; line-height: 28px; font-weight: 400; color: #14396d; }

/* ---------- About us ---------- */
/* #19 intro: first paragraph larger/medium as live */
.about-title { font-family: "LNA Montserrat Bold", Montserrat, sans-serif; font-weight: 400; line-height: 38px; letter-spacing: -2.25px; }
.about-text p { color: #3b3b3b; }
.about-text p:first-of-type { font-size: 26px; line-height: 28px; font-weight: 500; }
/* #20 ghost "Vision / Mission" words */
.mission-ghost { font-family: "LNA Montserrat Bold", Montserrat, sans-serif; font-weight: 400; font-size: 60px; line-height: 50px; letter-spacing: -3px; color: rgba(255,255,255,.1); }
/* #21 no drop shadow on the mission/vision texts */
.mission-box, .mission-box * { text-shadow: none !important; }
.mission-box h3 { font-family: "LNA Montserrat Bold", Montserrat, sans-serif; font-weight: 400; font-size: 45px; line-height: 38px; letter-spacing: -2.25px; }
.mission-box h4 { font-family: "LNA Montserrat Medium", Montserrat, sans-serif; font-weight: 400; font-size: 26px; line-height: 28px; }
.mission-box p { font-size: 16px; line-height: 24px; }
/* #22 values sub-title weight */
.values-intro h3 { font-family: "LNA Montserrat Medium", Montserrat, sans-serif; font-weight: 400; font-size: 26px; line-height: 28px; color: #3b3b3b; }
/* #23 all value boxes the same size, same icon box, no green active border */
.val-card, .swiper-slide-active .val-card { height: 242px; border-color: #333 !important; }
.val-card img { width: 120px; height: 104px; object-fit: contain; }
/* #24 team title spacing / size */
.team-intro h3 { font-family: "LNA Montserrat Bold", Montserrat, sans-serif; font-weight: 400; font-size: 45px; line-height: 38px; letter-spacing: -2.25px; margin-bottom: 20px; }
/* #25 / #26 figures: number and label sizes as live */
.fig-item h3 { font-family: "LNA Montserrat Light", Montserrat, sans-serif; font-weight: 400; font-size: 60px; line-height: 50px; letter-spacing: -3px; }
.fig-item p { font-size: 16px; line-height: 24px; }

/* ---------- What we do ---------- */
/* #27 sub-title font: covered by .svc-intro-sub above */
/* #28 intro text in capitals as live */
.page-id-10796 .svc-intro-text { text-transform: uppercase; }
.wwd-step h2, .wwd-support h2 { font-family: "LNA Montserrat Bold", Montserrat, sans-serif; font-weight: 400; font-size: 45px; line-height: 38px; letter-spacing: -2.25px; }
/* #29 "Spare parts and consumables" title colour as live */
.wwd-spare h2 { color: #3b3b3b; }
/* #30 "Request info" form title like the Contacts one */
.wwd-form .wwd-form-title { font-family: "LNA Montserrat Medium", Montserrat, sans-serif; font-size: 26px; font-weight: 400; line-height: 28px; letter-spacing: -1.3px; color: #1a1a1a; }

/* ---------- What we do ---------- */
/* #27 sub-title font: covered by .svc-intro-sub above */
/* #28 intro text in capitals as live */
.page-id-10796 .svc-intro-text { text-transform: uppercase; }
.wwd-step h2, .wwd-support h2 { font-family: "LNA Montserrat Bold", Montserrat, sans-serif; font-weight: 400; font-size: 45px; line-height: 38px; letter-spacing: -2.25px; }
/* #29 "Spare parts and consumables" title colour as live */
.wwd-spare h2 { color: #3b3b3b; }
/* #30 "Request info" form title like the Contacts one */
.wwd-form .wwd-form-title { font-family: "LNA Montserrat Medium", Montserrat, sans-serif; font-size: 26px; font-weight: 400; line-height: 28px; letter-spacing: -1.3px; color: #1a1a1a; }

/* ---------- Media room (news-eventi) ---------- */
/* #31 no overlay/hover animation on the filter tabs (plain text like live) */
.media-cat-item, .media-cat-item:hover, .media-cat-item.is-active { background: none !important; box-shadow: none !important; border-color: transparent !important; color: #333 !important; transition: none !important; transform: none !important; }
.media-cat-item::before, .media-cat-item::after { content: none !important; display: none !important; }
/* #32 tab order News / Events / Blog: set in news-events/sec-2.php */

/* ---------- Case history ---------- */
/* #33 no hover animation on the case cards / images */
.case-card, .case-card:hover { transform: none !important; box-shadow: none !important; transition: none !important; }
.case-card::after, .case-card:hover::after { display: none !important; }
.case-card .case-img img, .case-card:hover .case-img img { transform: none !important; transition: none !important; }
/* #34 smaller "See the project" buttons */
.case-btn { padding: 6px 10px; border-color: rgba(255,255,255,.2); }

/* ---------- Download area ---------- */
/* #36 plain dark line under the section titles (no green part) */
.dl-heading h2::before { content: none !important; display: none !important; }
.dl-heading h2::after { background: #333 !important; height: 1px !important; }
/* #35 no PDF badge on the covers */
.dl-badge { display: none !important; }
/* #37 plain download arrow, no round icon */
.dl-icon, .dl-card:hover .dl-icon { background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; width: 22px; height: 22px; color: #333 !important; transform: none !important; }

/* ---------- Mobile: keep the fixed desktop sizes above from overflowing ---------- */
@media (max-width: 767.98px) {
  .hq-title, .mission-box h3, .team-intro h3, .wwd-step h2, .wwd-support h2, .about-title { font-size: 30px; line-height: 1.05; letter-spacing: -1px; }
  .svc-list-top h2, .fig-item h3, .mission-ghost { font-size: 40px; line-height: 1; letter-spacing: -1.5px; }
  .about-text p:first-of-type, .svc-intro-sub, .values-intro h3, .mission-box h4 { font-size: 20px; line-height: 24px; }
}
@media (max-width: 991.98px) {
  /* existing desktop rule fixes this box at 790px; let it fit on tablet/mobile */
  .wwd-machine .wwd-info { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
  section.wwd-machine h2 { line-height: 1.05 !important; }
}

/* SHM 18/11/2026 - Home "Plus / Why choose" accordion: show the arrow next to
   each title like live (live: 20x20 accr-arrow.svg, 5px after the text,
   rotated -90deg closed, 0deg open). It was hidden by style.css. */
.why-head .why-arrow { display: block; }
.why-head { gap: 5px; }

/* SHM 18/11/2026 - Home page on mobile: font sizes / line heights as live
   (measured on lattuada-na.com/en/ at 375px). Live font faces map to:
   Montserrat-Bold 700, ExtraBold 800, SemiBold 600, Medium 500. */
@media (max-width: 767.98px) {
	.vs-title, .vs-title h2 { font-size: 30px; line-height: 35px; letter-spacing: -2.25px; }
	.na-title { font-size: 30px; line-height: 35px; }
	.na-text { font-size: 20px; line-height: 25px; font-weight: 500; }
	.behind-left { flex: 0 0 68%; max-width: 68%; padding-left: 0; padding-right: 0; }
	.behind-title { font-size: 30px; line-height: 35px; letter-spacing: -3px; }
	.why-left { padding-left: 18px; padding-right: 60px; }
	.why-accordion { padding-left: 18px; padding-right: 0; }
	.why-title { font-size: 22px; line-height: 27px; letter-spacing: -2.25px; }
	.why-sub { font-size: 20px; line-height: 25px; font-weight: 500; }
	.why-head { font-size: 30px; line-height: 35px; letter-spacing: -2px; }
	.services-title { font-size: 30px; line-height: 35px; letter-spacing: -2.25px; }
	.services-sub { font-size: 22px; line-height: 25px; }
	.services-list { font-size: 20px; line-height: 25px; }
	.services-box { text-align: center; }
	.services-box h2 { font-size: 25px; line-height: 38px; letter-spacing: -2.25px; }
	.services-box p { font-size: 18px; line-height: 20px; }
	.news-title, .news-title h2 { font-size: 45px; line-height: 38px; letter-spacing: -2.25px; }
}

/* SHM 18/11/2026 - Inner pages on mobile: font sizes as live (measured on
   lattuada-na.com/en/ at 375px) + two horizontal-overflow fixes. */
@media (max-width: 767.98px) {
	/* overflow: cyberAL machines block and Discover-more product card were wider than the screen */
	.cy-machines-grid, .md-grid { grid-template-columns: minmax(0, 1fr); }
	.cy-machines-text, .cy-machines-img, .md-card { max-width: 100%; min-width: 0; }
	.cy-machines-img img, .md-card img { max-width: 100%; height: auto; }

	/* Home: solution tiles */
	/* live: 306x315 box, 30px apart, icon 70px + label centred */
	.vs-item { width: 306px; max-width: 100%; height: auto; margin: 0 auto 30px; }
	.vs-item .vs-inner { min-height: 295px; height: auto; padding: 0; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
	.vs-item .vs-icon { width: auto; }
	.vs-item .vs-icon img { width: 70px; height: 70px; }
	.vs-item .vs-icon .vs-icon-white { display: none; }
	.vs-label { width: auto; font-size: 26px; line-height: 28px; padding-top: 16px; text-align: center; }

	/* Forms (contacts, what we do, spare parts, tools) */
	body .wpcf7 .form_single_full p, body .form_single_full p { font-size: 16px; }

	/* About us */
	.about-text p:first-child { font-size: 26px; line-height: 1.25; }
	.mission-ghost { font-size: 60px; line-height: 1; }
	.values-intro h2 { font-size: 35px; line-height: 1.15; }
	.values-intro h3, .rd-inner h3, .compliance-intro h3 { font-size: 22px; line-height: 1.2; }
	body .team-intro .team-ghost, body .team-ghost { font-size: 115px; line-height: 1; }
	.compliance-card h2 { font-size: 45px; line-height: 1.1; }
	.compliance-card p { font-size: 26px; line-height: 1.2; }

	/* Services / What we do */
	.svc-intro-sub { font-size: 26px; line-height: 1.2; }
	.svc-intro-text { font-size: 18px; }
	.svc-list-top h2 { font-size: 35px; line-height: 1.15; }
	.svc-support-inner h3 { font-size: 26px; line-height: 1.2; }
	.wwd-step .wwd-info h2 { font-size: 26px; line-height: 1.2; }
	.wwd-support .wwd-info h2 { font-size: 35px; line-height: 1.15; }
	.cy-results-title { font-weight: 500; }

	/* Contacts */
	.hq-title { font-size: 35px; line-height: 1.15; }

	/* Download */
	.dl-heading h2 { font-size: 13px; }
	.dl-title { font-size: 14px; }

	/* Media / news list */
	.media-title { font-size: 18px; font-weight: 700; }

	/* Case history + case singles */
	.case-intro-inner h1 { font-size: 30px; line-height: 1.15; }
	.case-intro-inner h2 { font-size: 33px; line-height: 1.15; }
	.case-intro-inner p { font-size: 22px; line-height: 1.35; }
	.case-title { font-size: 20px; font-weight: 300; line-height: 1.3; }
	.scase-title { font-size: 30px; line-height: 1.15; }
	.scase-content h4 { font-size: 24px; line-height: 1.25; }

	/* Tools / spare parts / consumables: product photos full width like live */
	.page-tsp .tsp-img { margin-left: -12px; margin-right: -12px; }
	.page-tsp .tsp-img img { width: 100%; height: auto; }

	/* Spare parts */
	.sp-items { font-size: 20px; }

	/* line breaks hidden on mobile glued words together ("automatingactivities"): keep them */
	.page-cy main br, .svc-support-lead br { display: inline; }

	/* cyberAL */
	.cy-claim { font-size: 30px; line-height: 1.15; }
	.cy-intro-text, .cy-h, .cy-sub, .cy-sys p, .cy-results-title, .cy-results-text p { font-size: 20px; }
	.cy-kicker { font-size: 20px; }
	.cy-machines-title { font-size: 38px; line-height: 1.1; }
	.cy-machines-sub { font-size: 30px; line-height: 1.15; }
	.cy-sys h3 { font-size: 20px; }

	/* Advanced search (live: 35/18px titles, 32px filter headers, 278px product images) */
	.ra-title { font-size: 35px; line-height: 50px; letter-spacing: -1.75px; font-weight: 800; }
	.ra-sub { font-size: 18px; line-height: 21.6px; padding-top: 16px; }
	.ra-sidebar .accordion-header, .ra-sidebar .accordion-button { font-size: 15px; font-weight: 700; line-height: 22px; }
	.ra-sidebar .accordion-button { padding: 10px 10px 9px; }
	.ra-card { max-width: 310px; margin-left: auto; margin-right: auto; }
	.ra-card-img { height: 150px; object-fit: contain; }
	.ra-compare { font-size: 16px; }
	.ra-reset a { font-size: 16px; font-weight: 600; }

	/* Discover-more (modello) */
	.page-md th, .page-md td { font-size: 16px; }
	.page-md .accordion-header, .page-md .accordion-button { font-size: 16px; font-weight: 700; line-height: 22px; }

	/* Service (2021) page */
	body.page-s2 .s2-intro-title { font-size: 28px; line-height: 1.15; letter-spacing: -1.5px; }
	body.page-s2 .s2-band-title { font-size: 20px; line-height: 1.2; letter-spacing: -1px; }
	body.page-s2 .s2-feat-title, body.page-s2 .s2-part-title, body.page-s2 .s2-feat-sub { font-size: 20px; line-height: 1.25; letter-spacing: 0; }
	body.page-s2 .s2-feat--bg .s2-feat-body p { font-size: 20px; line-height: 1.25; }
}
