/* caltech-core: Elementor wrappers of shortcode widgets are transparent; Google Maps click-to-load */
.elementor .elementor-widget-shortcode,.elementor .elementor-shortcode{display:contents!important}
body.elementor-editor-active .elementor .elementor-widget-shortcode{display:block!important}
.map,.map-x{position:relative}
.map-consent{position:absolute;inset:0;display:grid;place-content:center;gap:8px;padding:24px;text-align:center;border:0;cursor:pointer;
  background:var(--white-2,#f1f0ec) radial-gradient(circle at 50% 45%,rgba(200,16,46,.08),transparent 60%);color:var(--ink,#111);font:inherit}
.map-consent__t{display:inline-flex;align-items:center;justify-self:center;gap:8px;padding:12px 22px;border-radius:999px;background:var(--ink,#111);color:#fff;font-weight:600;font-size:.95rem}
.map-consent__t::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--red,#c8102e);box-shadow:0 0 0 4px rgba(200,16,46,.25)}
.map-consent__d{max-width:34ch;font-size:var(--fs-micro,.8rem);color:var(--muted,#666)}
.map-consent__d a{color:inherit;text-decoration:underline}
.map-consent:hover .map-consent__t,.map-consent:focus-visible .map-consent__t{background:var(--red,#c8102e)}
.map.is-loaded .map-consent,.map-x.is-loaded .map-consent{display:none}
/* news pictures from the media library: same black & white treatment as the static site (colour on hover) */
.news-card .card__img img[src*="/wp-content/uploads/"]:not([src*="website"]),.news-row__thumb img[data-src*="/wp-content/uploads/"]:not([data-src*="website"]),.news-row__thumb img[src*="/wp-content/uploads/"]:not([src*="website"]),.article__hero img[src*="/wp-content/uploads/"]:not([src*="website"]){filter:grayscale(1) contrast(1.06);transition:filter var(--dur-2),transform var(--dur-2) var(--ease-out)}
/* fix carried over from the static site: on phones (one column) the sticky solution picture slid over the text */
@media (max-width:899px){.solution__media{position:relative;top:auto}}
/* EN/IT link in the header (same look as the phone link) */
.header__lang{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 10px;border-radius:var(--r-pill);font-family:var(--font-mono);font-size:var(--fs-micro);letter-spacing:0.08em;color:var(--ink-2);transition:color var(--dur-1),background var(--dur-1)}
.header__lang:hover{color:var(--ink);background:rgba(21,20,15,0.05)}
.drawer__contact a[data-lang-switch]{font-weight:600}

/* card titles promoted to h2 for the heading outline keep the h3 look */
h2.card__title{letter-spacing:-0.025em}
.footer__bottom .footer__legal{flex-wrap:wrap;gap:6px 8px}
.footer__legal a,.footer__consent{color:inherit;text-decoration:none;transition:color .2s}
.footer__consent{background:none;border:0;padding:0;font:inherit;letter-spacing:inherit;cursor:pointer}
.footer__legal a:hover,.footer__consent:hover,.footer__consent:focus-visible{color:var(--on-graphite,#f3f1ea)}
/* WordPress / plugins' visually hidden text (the theme stylesheet has none) */
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* header on one line in both languages: menu labels and phone never wrap, the logo keeps its size; the Italian labels are longer,
   so between the tablet layout and 1280px the phone (also in the drawer and footer) gives way to them */
.header .nav__link,.header__phone{white-space:nowrap}
.header__logo{flex-shrink:0}
@media (max-width:1279px){html[lang^="it"] .header__phone{display:none}}
