/* OMU 2.0: only the changes marked in the owners' three-page PDF.
   The site's Elementor HTML, theme, existing widget CSS and JavaScript stay in place. */
@font-face {
  font-family: "Bugrino OMU Regular";
  src: url("../fonts/Bugrino-Regular.woff") format("woff");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Bugrino OMU Light";
  src: url("../fonts/Bugrino-Regular.woff") format("woff");
  font-style: normal; font-weight: 300; font-display: swap;
}

/* PDF p. 1: header and hero arrow. */
body .omu-menu-block, body .omu-menu-block .omu-header,
body .elementor-location-header, body .elementor-location-header .e-con {
  border-bottom: 0 !important; border-top: 0 !important; box-shadow: none !important;
}
/* Override the fixed header inside Elementor's HTML widget on every viewport. */
body .omu-menu-block .omu-header {
  position: relative !important;
  top: auto !important; left: auto !important; right: auto !important;
}
body .omu-menu-block .omu-header-spacer {
  display: none !important; height: 0 !important; min-height: 0 !important;
}
body .omu-home .omu-hero-wrap { position: relative !important; }
body .omu-home .omu-hero-wrap .omu-arrow {
  position: absolute !important; grid-row: 1 !important;
  right: 4% !important; bottom: 0 !important; top: auto !important;
  width: auto !important; height: auto !important; margin: 0 !important;
  padding: 0 !important; line-height: 0 !important; color: transparent !important;
  font-size: 0 !important; z-index: 999 !important;
}
body .omu-home .omu-hero-wrap .omu-arrow::after {
  content: "" !important; display: block !important;
  width: 35px !important; height: 100px !important;
  background: var(--omu-native-arrow) bottom center / contain no-repeat !important;
}
@media (max-width: 767px) {
  body .omu-home .omu-hero-wrap .omu-arrow,
  body .omu-home .omu-hero-wrap .omu-arrow::after { display: none !important; }
  /* Show the whole 16:9 hero photo across the phone screen. */
  body .omu-home .omu-hero-wrap {
    display: block !important;
    grid-template-columns: none !important;
  }
  body .omu-home .omu-hero-wrap .omu-hero {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
    background-size: contain !important;
    background-position: center center !important;
  }
}

/* Blog: align article cards and keep stray default metadata away from footer. */
body .elementor-316 .elementor-element.elementor-element-1d1474ff {
  padding-bottom: clamp(55px, 7vw, 105px) !important;
}
body .elementor-316 .elementor-posts-container .elementor-post__card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: 16px !important;
}
body .elementor-316 .elementor-posts-container .elementor-post__text {
  flex: 1 1 auto !important;
}
body .elementor-316 .elementor-posts-container .elementor-post__meta-data {
  margin-top: auto !important;
  padding: 12px 20px !important;
  border-top: 1px solid #e6e6e6 !important;
  color: #555 !important;
}
body .elementor-316 .elementor-post__badge[hidden],
body .elementor-316 .elementor-post-avatar[hidden] { display: none !important; }

/* Keep the existing card and photo dimensions; change type rhythm and the gap. */
body .omu-home .omu-intro .omu-card {
  margin-top: clamp(24px, 6cqw, 90px) !important;
  margin-bottom: clamp(24px, 5cqw, 75px) !important;
}
body .omu-home .omu-intro .omu-card p {
  font-weight: 300 !important; line-height: 1.7 !important;
  margin-bottom: clamp(24px, 2.4cqw, 36px) !important;
  text-align: justify !important; text-align-last: left !important; hyphens: auto;
}
body .omu-home .omu-card .omu-highlight,
body .omu-home .omu-card .omu2-highlight { color: #fff !important; }
body .omu-home .omu-intro .omu-pill {
  padding: 14px 32px !important; font-size: 1.1em !important;
}

/* PDF p. 2: title, list leading, newsletter tile and thinner social type. */
body .omu-home .omu-services h2 {
  font-family: "Bugrino OMU Regular", Arial, sans-serif !important;
  font-weight: 400 !important;
}
body .omu-home .omu-services ul li {
  margin-bottom: 16px !important; line-height: 1.7 !important;
}
body .omu-home .omu-services ul li:last-child { margin-bottom: 0 !important; }
body .omu-connect .omu-newsletter {
  display: flex !important; flex-direction: column !important;
  align-items: stretch !important; justify-content: space-between !important;
  padding: clamp(16px, 2cqw, 28px) !important; box-sizing: border-box !important;
}
body .omu-connect .omu-newsletter span:first-child {
  align-self: flex-start !important; text-align: left !important;
}
body .omu-connect .omu-newsletter span:last-child { align-self: flex-end !important; }
body .omu-connect .omu-social a {
  font-family: "Bugrino OMU Light", Arial, sans-serif !important;
  font-weight: 300 !important;
}
/* Match the Studio social section to the dimensions of the service pages. */
body .omu-about .omu-connect .omu-label {
  margin: 0 0 clamp(10px, 2cqw, 20px) !important;
  font-size: clamp(18px, 2.55cqw, 28px) !important;
  color: rgba(0, 0, 0, .6) !important; opacity: 1 !important;
}
body .omu-about .omu-connect .omu-newsletter {
  height: clamp(150px, 31.4cqw, 400px) !important;
  font-size: clamp(32px, 6.15cqw, 80px) !important;
  line-height: .78 !important; padding: 35px !important;
  border-radius: clamp(12px, 1.7cqw, 25px) !important;
}
body .omu-about .omu-connect .omu-social a {
  height: clamp(55px, 9.3cqw, 120px) !important;
  font-size: clamp(26px, 5.7cqw, 70px) !important;
  line-height: 1 !important;
  margin-bottom: clamp(8px, 2cqw, 20px) !important;
  margin-right: -4cqw !important;
  padding-left: 8% !important; padding-right: calc(8% + 4cqw) !important;
  border-radius: clamp(12px, 1.7cqw, 25px) 0 0 clamp(12px, 1.7cqw, 25px) !important;
}

/* The owner's four graphics extend to both screen edges; original subtitles alternate. */
body .omu-home .omu-values { display: block !important; width: 100% !important; padding: 4cqw 0 !important; }
body .omu-home .omu-values .omu-value-item {
  display: block !important; max-width: 100% !important;
  width: 100% !important; padding: 0 !important;
  margin: 0 0 50px !important; box-sizing: border-box !important;
}
body .omu-home .omu-values .omu-value {
  width: 100vw !important; max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  position: relative !important; left: 0 !important; display: block !important;
  font-size: 0 !important; color: transparent !important;
  transform: none !important; opacity: var(--omu-fade, 1) !important;
}
body .omu-home .omu-values .omu-value img {
  width: 100% !important; height: auto !important; display: block !important;
  border: 0 !important; margin: 0 !important; padding: 0 !important;
}
body .omu-home .omu-values .omu-value.omu-value-is-text {
  font-size: 11.2cqw !important; color: #000 !important;
  padding: 0 4.3cqw !important;
}
body .omu-home .omu-values .omu-value.omu-value-is-text.rust { color: #b95b00 !important; }
body .omu-home .omu-values .rustbar,
body .omu-home .omu-values .blackbar { display: none !important; }
body .omu-home .omu-values .omu-value-sub {
  display: block !important; width: 100% !important;
  max-width: 750px !important; margin-top: 20px !important;
  padding: 0 4.3cqw !important; box-sizing: border-box !important;
  opacity: var(--omu-fade, 1) !important; transform: none !important;
}
body .omu-home .omu-values .omu-value-item[data-direction="left"] .omu-value-sub {
  margin-left: 0 !important; margin-right: auto !important; text-align: left !important;
}
body .omu-home .omu-values .omu-value-item[data-direction="right"] .omu-value-sub {
  margin-left: auto !important; margin-right: 0 !important; text-align: right !important;
}
@media (max-width: 767px) {
  body .omu-home .omu-values .omu-value-item { margin-bottom: 40px !important; }
  body .omu-home .omu-values .omu-value-sub { padding-left: 6cqw !important; padding-right: 6cqw !important; }
}

/* PDF p. 3: footer proportions, compact addresses and Italian newsletter invitation. */
body .omu-footer-wrap .omu-footer-left .omu-sede-item p {
  margin-top: 0 !important; margin-bottom: 4px !important; line-height: 1.2 !important;
}
body .omu-footer-wrap .omu-footer-left .omu-sede-item p:last-child { margin-bottom: 0 !important; }
body .omu-footer-wrap .omu-footer-newsletter { width: 100%; max-width: 320px; margin-top: 10px !important; }
body .omu-footer-wrap .omu-footer-newsletter label { display: none !important; }
body .omu-footer-wrap .omu-footer-newsletter::before {
  content: var(--omu-footer-newsletter-label, "Iscriviti alla nostra newsletter") !important;
  display: block !important; font: 300 13px/1 "Bugrino OMU Light", Arial, sans-serif !important;
  color: #8c8c8c !important; margin-bottom: 1% !important;
}

/* The header retains the original three bars and its open/close cross. */
body .omu-menu-block .omu-header .omu-menu {
  display: flex !important; visibility: visible !important; opacity: 1 !important;
  flex-direction: column !important; justify-content: space-between !important;
  position: relative !important; z-index: 10002 !important;
  width: 36px !important; height: 26px !important;
  padding: 0 !important; border: 0 !important;
  background: transparent !important; box-shadow: none !important;
  cursor: pointer !important; appearance: none !important;
}
body .omu-menu-block .omu-header .omu-menu span {
  display: block !important; width: 100% !important; height: 2px !important;
  min-height: 2px !important; flex: none !important;
  border: 0 !important; border-radius: 0 !important;
  background: #b95b00 !important; opacity: 1;
  transition: transform .3s ease, opacity .3s ease !important;
}
body .omu-menu-block .omu-header .omu-menu.active span:first-child,
body .omu-menu-block .omu-header .omu-menu[aria-expanded="true"] span:first-child {
  transform: translateY(12px) rotate(45deg) !important;
}
body .omu-menu-block .omu-header .omu-menu.active span:nth-child(2),
body .omu-menu-block .omu-header .omu-menu[aria-expanded="true"] span:nth-child(2) {
  opacity: 0 !important;
}
body .omu-menu-block .omu-header .omu-menu.active span:last-child,
body .omu-menu-block .omu-header .omu-menu[aria-expanded="true"] span:last-child {
  transform: translateY(-12px) rotate(-45deg) !important;
}
body .omu-menu-block .omu-nav .omu-nav-main a,
body .omu-menu-block .omu-nav .omu-nav-side a,
body .omu-menu-block .omu-nav .omu-nav-main a:visited,
body .omu-menu-block .omu-nav .omu-nav-side a:visited,
body .omu-menu-block .omu-nav .omu-nav-main a:hover,
body .omu-menu-block .omu-nav .omu-nav-side a:hover,
body .omu-menu-block .omu-nav a:focus-visible {
  color: #000 !important;
}

/* Align the visible glyphs with the photo's top and right inner edges. */
body .omu-home .omu-hero h1 {
  top: -1.4cqw !important; right: -.6cqw !important;
  line-height: .88 !important; color: #fff !important;
  overflow: visible !important; white-space: nowrap !important;
}
body .omu-home .omu-hero h1 .omu-hero-line { display: block; }
body .omu-home .omu-hero h1 .omu-hero-line:first-child:not(:last-child) {
  padding-right: .8cqw;
}
body .omu-home .omu-card p span[style] { color: #fff !important; }
body .omu-page .omu-project-copy p {
  text-align: justify !important; text-align-last: left !important; hyphens: auto;
}
/* At wide widths the copy fits beside the photo; bring their lower edges together. */
@media (min-width: 1400px) {
  body .omu-page .omu-project-copy {
    box-sizing: border-box !important;
    min-height: clamp(300px, 39.2cqw, 600px) !important;
    padding-top: clamp(40px, 6cqw, 100px) !important;
    display: flex !important; flex-direction: column !important;
    justify-content: flex-end !important;
  }
  body .omu-page .omu-project-copy p:last-child { margin-bottom: 0 !important; }
}
body .omu-connect .omu-newsletter,
body .omu-connect .omu-newsletter span,
body .omu-connect .omu-newsletter:hover,
body .omu-connect .omu-social a,
body .omu-connect .omu-social a span,
body .omu-connect .omu-social a:visited,
body .omu-connect .omu-social a:hover,
body .omu-connect .omu-social a:focus-visible {
  color: #000 !important;
}
body .omu-footer-wrap .omu-footer-brand h2 { color: #fff !important; }

/* The footer field contains only the email placeholder and the entry area. */
body .omu-footer-wrap .omu-footer-newsletter .omu-newsletter-form {
  border: 0 !important; border-bottom: 0 !important;
  box-shadow: none !important; outline: 0 !important;
  background: transparent !important; padding: 0 !important;
  position: relative !important;
}
body .omu-footer-wrap .omu-footer-newsletter .omu-newsletter-form input[type="email"],
body .omu-footer-wrap .omu-footer-newsletter .omu-newsletter-form input[type="email"]:focus,
body .omu-footer-wrap .omu-footer-newsletter .omu-newsletter-form input[type="email"]:hover {
  background: transparent !important; color: #fff !important;
  border: 0 !important; border-bottom: 0 !important;
  box-shadow: none !important; outline: 0 !important;
  padding: 8px 0 !important; width: 100% !important;
  min-width: 0 !important; min-height: 36px !important;
  font: 15px Arial, sans-serif !important;
}
body .omu-footer-wrap .omu-footer-newsletter .omu-newsletter-form input[type="email"]::placeholder {
  color: #fff !important; opacity: 1 !important;
}
body .omu-footer-wrap .omu-footer-newsletter .omu-newsletter-form button {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip-path: inset(50%) !important; white-space: nowrap !important;
  border: 0 !important;
}

/* One vertical start for the service photo, next-project button, social tiles,
   Studio biographies and the footer brand: 4cqw + 36.2cqw + 1.8cqw = 42cqw. */
@media (min-width: 768px) {
  /* Align Home and Studio social columns with the service pages and footer. */
  body .omu-home .omu-connect { padding-left: 4cqw !important; }
  body .omu-home .omu-connect .omu-social a {
    margin-right: -4cqw !important;
    padding-right: calc(8% + 4cqw) !important;
  }
  body .omu-about .omu-connect {
    padding: 0 0 clamp(30px, 2.5cqw, 60px) 4cqw !important;
  }
  body .omu-menu-block .omu-nav-side {
    flex-wrap: wrap !important;
    column-gap: clamp(12px, 2cqw, 28px) !important;
    row-gap: 12px !important;
  }
  body .omu-about .omu-about-hero-grid,
  body .omu-about .omu-vision-mission,
  body .omu-about .omu-team,
  body .omu-about .omu-connect,
  body .omu-page .omu-connect,
  body .omu-home .omu-connect,
  body .omu-page .omu-project-nav {
    grid-template-columns: 36.2cqw minmax(0, 1fr) !important;
    column-gap: 1.8cqw !important;
  }
  body .omu-page .omu-project-image { width: 58cqw !important; }
  body .omu-footer-wrap .omu-footer,
  body .omu-footer-wrap .omu-footer-bottom {
    grid-template-columns: 35.9cqw minmax(0, 1fr) !important;
    column-gap: 1.8cqw !important;
  }
}

/* Mobile headings follow the header in normal document flow. */
@media (max-width: 767px) {
  body .omu-home .omu-connect { padding-left: 4cqw !important; }
  body .omu-about .omu-connect {
    gap: 30px !important; padding: 15px 0 40px 4cqw !important;
  }
  body .omu-about .omu-connect .omu-newsletter {
    height: 180px !important;
    border-radius: clamp(12px, 1.7cqw, 25px) 0 0 clamp(12px, 1.7cqw, 25px) !important;
  }
  body .omu-about .omu-connect .omu-social a {
    height: 65px !important; margin-bottom: 12px !important;
    margin-right: 0 !important; padding-right: 25px !important;
  }
  body .omu-about .omu-connect .omu-social a:last-child { margin-bottom: 0 !important; }
  /* The original Home widget removes this gap; restore the other pages' 40px. */
  body .omu-home .omu-connect { padding-bottom: 40px !important; }
  body .omu-page .omu-project { padding-top: 32px !important; }
  body .omu-page .omu-project-title {
    position: relative !important; top: 0 !important; left: 0 !important;
    transform: none !important; margin: 0 0 24px !important;
    font-size: clamp(44px, 10cqw, 72px) !important;
    line-height: 1.06 !important; overflow: visible !important;
  }
}
