/*
Theme Name: Edo HYPRO
Template: onepress
Description: Presentazione del sito HYPRO Industrial / Lubrotech.
Version: 1.0.0
Text Domain: edo-hypro
*/

.edo-hypro {
  --ink: #11263e;
  --copy-secondary: #42586b;
  --blue: #157396;
  --navy: #0c3521;
  --green: #197644;
  --green-light: #02c919;
  --surface: #f1f5f7;
  --line: #d8e2e8;
  --paper: #fff;
  --width: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --heading: "Bahnschrift", "Segoe UI", system-ui, sans-serif;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 "Segoe UI", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}

.edo-hypro *, .edo-hypro *::before, .edo-hypro *::after { box-sizing: border-box; }
.edo-hypro #page { width: 100%; overflow: clip; }
.edo-hypro :where(section, [id]) { scroll-margin-top: 92px; }
.edo-hypro .container { width: min(100%, var(--width)); max-width: var(--width); margin-inline: auto; padding-inline: var(--gutter); }
.edo-hypro .container::before, .edo-hypro .container::after,
.edo-hypro .row::before, .edo-hypro .row::after { display: none; }
.edo-hypro .row { margin: 0; }
.edo-hypro h1, .edo-hypro h2, .edo-hypro h3, .edo-hypro h4, .edo-hypro h5 {
  margin: 0 0 .65em;
  color: inherit;
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -.026em;
  overflow-wrap: anywhere;
}
.edo-hypro h1 { font-size: clamp(2.35rem, 5.2vw, 4.7rem); }
.edo-hypro h2 { font-size: clamp(1.65rem, 3.5vw, 3.25rem); }
.edo-hypro h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.edo-hypro h4 { font-size: 1.25rem; }
.edo-hypro p, .edo-hypro ul, .edo-hypro ol, .edo-hypro figure { margin: 0 0 1.15em; }
.edo-hypro a { color: var(--blue); text-decoration-thickness: .09em; text-underline-offset: .17em; }
.edo-hypro a:hover { color: var(--green); }
.edo-hypro :where(a, button, input, textarea, summary, select):focus-visible {
  outline: 3px solid #168354;
  outline-offset: 4px;
}
.edo-hypro img { max-width: 100%; height: auto; }
.edo-hypro video, .edo-hypro iframe { max-width: 100%; }
.edo-hypro :where(button, input, select, textarea) { font: inherit; }
.edo-hypro :where(button, select, summary) { cursor: pointer; }
.edo-hypro .screen-reader-text {
  position: absolute;
  inset: auto;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.edo-hypro .skip-link:focus {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 120;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 16px;
  background: var(--paper);
  clip-path: none;
}

/* Shared brand bar */
.edo-hypro #masthead {
  position: relative;
  z-index: 30;
  inset: auto;
  height: auto;
  width: 100%;
  background: var(--paper);
  border-top: 4px solid var(--blue);
  border-bottom: 1px solid var(--line);
}
.edo-hypro #masthead .container {
  min-height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 42px);
}
.edo-hypro #masthead .site-branding { float: none; flex: 0 1 305px; min-width: 0; line-height: 1; }
.edo-hypro #masthead .site-brand-inner { height: auto; display: block; vertical-align: middle; }
.edo-hypro #masthead .custom-logo { display: block; width: min(100%, 305px); }
.edo-hypro #masthead .header-right-wrapper { float: none; margin: 0; flex-shrink: 0; }
.edo-hypro #masthead #site-navigation { display: block; position: static; }
.edo-hypro #masthead .onepress-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: clamp(8px, 1.5vw, 20px);
  margin: 0;
  padding: 0;
}
.edo-hypro #masthead .onepress-menu li { position: relative; float: none; list-style: none; }
.edo-hypro #masthead .onepress-menu a {
  display: block;
  padding: .65rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}
.edo-hypro #masthead .onepress-menu a:hover, .edo-hypro #masthead .onepress-menu a:focus-visible { color: var(--blue); }
.edo-hypro #masthead .onepress-menu > li:last-child > a {
  padding: .73rem .95rem;
  background: var(--navy);
  color: white;
  border-radius: 6px;
}
.edo-hypro #masthead .onepress-menu .sub-menu {
  display: none;
  position: absolute;
  inset: 100% auto auto 0;
  min-width: 224px;
  padding: 7px 13px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 12px 30px #10283d1f;
}
.edo-hypro #masthead .onepress-menu li:hover > .sub-menu,
.edo-hypro #masthead .onepress-menu li:focus-within > .sub-menu { display: block; }
.edo-hypro #masthead #nav-toggle { display: none; }

/* Homepage */
.edo-hypro #hero {
  position: relative;
  background: var(--navy);
  color: white;
  min-height: 0;
  text-align: left;
}
.edo-hypro #hero > .container {
  padding-block: clamp(42px, 7vw, 104px) 0 !important;
  position: relative;
  z-index: 1;
}
.edo-hypro #hero .hero__content {
  max-width: 620px;
  width: 54%;
  margin: 0;
  padding: 0 0 clamp(34px, 5vw, 64px);
  color: white;
  text-align: left;
}
.edo-hypro #hero .hero-large-text {
  margin: 0 0 18px;
  color: white;
  font: 750 clamp(2.5rem, 5vw, 4.75rem)/1.01 var(--heading);
  letter-spacing: -.048em;
  text-transform: none;
}
.edo-hypro #hero .hero-small-text { max-width: 48ch; color: #edf4fa; font: 400 clamp(1rem, 1.35vw, 1.13rem)/1.58 "Segoe UI", system-ui, sans-serif; }
.edo-hypro #hero .hero-small-text p { font: inherit; margin: 0 0 26px; }
.edo-hypro #hero .hero-visual {
  position: absolute;
  inset: 0 0 0 50%;
  margin: 0;
  overflow: hidden;
  background: #344b5b;
}
.edo-hypro #hero .hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; display: block; position: absolute; inset: 0; }
.edo-hypro #hero .hero-visual img + img { opacity: 0; animation: hypro-photo 16s 2s ease-in-out infinite; }
.edo-hypro #hero .hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy), #10283d33 22%, transparent 46%); }
.edo-hypro #hero:is(.hypro-hero-ready) .vegas-slide,
.edo-hypro #hero:is(.hypro-hero-ready) .vegas-overlay { display: none; }
@keyframes hypro-photo { 0%, 36%, 100% { opacity: 0; } 47%, 84% { opacity: 1; } }
.edo-hypro #hero .hero-highlights {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
  margin: 0 calc(0px - var(--gutter));
  border-top: 1px solid #ffffff38;
  background: #10283df2;
}
.edo-hypro #hero .hero-highlights li {
  padding: 16px 22px;
  min-width: 0;
  text-align: center;
  color: #fff;
  font-size: .91rem;
  font-weight: 650;
}
.edo-hypro #hero .hero-highlights li + li { border-left: 1px solid #ffffff38; }
.edo-hypro .hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.edo-hypro #hero .hero-actions a, .edo-hypro .wpforms-submit, .edo-hypro .video-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--green-light);
  color: #172b24;
  font-size: .91rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-decoration: none;
  text-transform: none;
  margin: 0;
}
.edo-hypro #hero .hero-actions a:hover { background: #c0e684; }
.edo-hypro #hero .hero-actions a + a { background: transparent; border-color: #ffffff80; color: #fff; }
.edo-hypro #hero .hero-actions a + a:hover { background: #ffffff1c; }
.edo-hypro .onepage-section {
  padding-block: clamp(46px, 6.1vw, 88px);
  background: var(--paper);
}
.edo-hypro .section-title-area { text-align: left; margin: 0 0 30px; }
.edo-hypro .section-title-area .section-subtitle {
  color: var(--green);
  font: 750 .88rem/1.3 "Segoe UI", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .105em;
  margin: 0 0 .8em;
}
.edo-hypro .section-title-area .section-title {
  color: var(--ink);
  text-transform: none;
  font-size: clamp(2.1rem, 4.2vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -.046em;
  margin: 0 0 10px;
}
.edo-hypro #mission .section-title { text-transform: capitalize; }
.edo-hypro .section-desc { max-width: 76ch; color: var(--copy-secondary); }
.edo-hypro .section-desc p:last-child { margin-bottom: 0; }
.edo-hypro #mission { background: #f4f7f9; border-bottom: 1px solid var(--line); }
.edo-hypro #mission .row { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 15px; }
.edo-hypro #mission .feature-item {
  width: auto;
  max-width: none;
  min-width: 0;
  padding: clamp(17px, 2.15vw, 30px);
  margin: 0;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: 8px;
  background: var(--paper);
  text-align: left;
}
.edo-hypro #mission .feature-item:nth-child(2) { border-top-color: var(--blue); }
.edo-hypro #mission .feature-media { display: none; }
.edo-hypro #mission .feature-item h4 { margin: 0 0 16px; }
.edo-hypro #mission .feature-item-content p { color: var(--copy-secondary); }
.edo-hypro #mission .feature-item-content > :last-child { margin-bottom: 0; }
.edo-hypro #mission .feature-item:nth-child(2) .feature-item-content p {
  padding: .35em 0;
  margin: 0;
  font-size: .92rem;
  border-bottom: 1px solid #e6edf1;
}
.edo-hypro #mission .feature-item:nth-child(2) .feature-item-content p:last-child { border-bottom: 0; }
.edo-hypro #mission .feature-item-content strong { color: var(--ink); }
.edo-hypro #hypro .row, .edo-hypro #contact .row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(18px, 3vw, 34px); }
.edo-hypro #hypro .row > div, .edo-hypro #contact .row > div { width: auto; max-width: none; min-width: 0; margin: 0; padding: 0; text-align: left; }
.edo-hypro #hypro .row .about-image img { width: 100%; aspect-ratio: 1.75; object-fit: cover; border-radius: 7px; display: block; }
.edo-hypro #hypro .row h3 { margin-top: .85rem; }
.edo-hypro #video {
  background: var(--navy);
  color: white;
  padding-block: clamp(32px, 5vw, 62px);
  text-align: left;
}
.edo-hypro #video > .container { display: flex; align-items: center; gap: 20px; }
.edo-hypro #video .videolightbox__heading { margin: 0; color: white; font-size: clamp(1.5rem, 3vw, 2.35rem); text-transform: none; }
.edo-hypro #video .videolightbox__icon { margin: 0; }
.edo-hypro #video .popup-video { display: grid; place-items: center; width: 54px; height: 54px; color: var(--navy); text-decoration: none; border-radius: 50%; background: var(--green-light); }
.edo-hypro #video .popup-video::after { content: ""; width: 0; height: 0; margin-left: 4px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid var(--navy); }
.edo-hypro #video .video_icon { display: none; }
.edo-hypro #consultant .section-desc p { text-align: left !important; }
.edo-hypro .gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.edo-hypro .gallery-grid .g-item { width: auto; margin: 0; padding: 0; height: auto; float: none; }
.edo-hypro .gallery-grid .g-item img { width: 100%; display: block; border-radius: 7px; }
.edo-hypro #greenfluid { background: var(--surface); }
.edo-hypro #greenfluid .list-article, .edo-hypro:is(.blog, .archive) .list-article { background: var(--paper); }

/* News and archive collections */
.edo-hypro #greenfluid .blog-entry,
.edo-hypro:is(.blog, .archive) #main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.edo-hypro #greenfluid .blog-entry > :not(article),
.edo-hypro:is(.blog, .archive) #main > :not(article) { grid-column: 1 / -1; }
.edo-hypro .list-article {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: var(--paper);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.edo-hypro .list-article .list-article-thumb { width: 100%; float: none; margin: 0; }
.edo-hypro .list-article .list-article-thumb a { display: block; }
.edo-hypro .list-article .list-article-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 2; object-fit: cover; }
.edo-hypro .list-article .list-article-content { padding: 16px 19px 20px; }
.edo-hypro .list-article .list-article-meta a { color: var(--green); font-weight: 700; font-size: .84rem; }
.edo-hypro .list-article .entry-title { font-size: 1.26rem; line-height: 1.24; margin: .42rem 0 .6rem; }
.edo-hypro .list-article .entry-title a { color: var(--ink); text-decoration: none; }
.edo-hypro .list-article .entry-title a:hover { color: var(--blue); text-decoration: underline; }
.edo-hypro .list-article .entry-excerpt p { font-size: .95rem; color: var(--copy-secondary); margin: 0; }
.edo-hypro #greenfluid .btn, .edo-hypro .news-more .btn {
  color: var(--blue);
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .65rem 1rem;
  text-decoration: none;
}

/* Interior pages and technical content */
.edo-hypro .page-header {
  background: #eaf1f5;
  color: var(--ink);
  margin: 0;
  padding-block: clamp(27px, 4.7vw, 67px);
  border: 0;
  border-bottom: 1px solid var(--line);
}
.edo-hypro .page-header .entry-title, .edo-hypro .page-header .page-title {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: clamp(2rem, 4.75vw, 4rem);
  color: var(--ink);
  text-transform: none;
  letter-spacing: -.04em;
}
.edo-hypro:not(.home) #content-inside {
  display: block;
  padding-block: clamp(27px, 5vw, 63px);
}
.edo-hypro:not(.home) #content-inside > #primary { width: auto; float: none; border: 0; margin: 0; padding: 0; }
.edo-hypro:not(.home):is(.page, .single) #main { max-width: 846px; margin-inline: auto; }
.edo-hypro:not(.home) #main > article:not(.list-article) { border: 0; margin: 0; padding: 0; }
.edo-hypro .entry-content { font-size: 1.04rem; color: var(--ink); }
.edo-hypro .entry-content :is(h2,h3,h4):not(:first-child) { margin-top: 1.5em; }
.edo-hypro .entry-content h2 { font-size: clamp(1.55rem, 3vw, 2.34rem); }
.edo-hypro .entry-content h3 { font-size: 1.4rem; }
.edo-hypro .entry-content :is(ul,ol) { padding-inline-start: 1.55em; }
.edo-hypro .entry-content li + li { margin-top: .35em; }
.edo-hypro .entry-content figure :is(img,video,iframe) { border-radius: 8px; }
.edo-hypro .entry-content video { display: block; width: 100%; height: auto; background: var(--navy); }
.edo-hypro .entry-content figcaption { font-size: .875rem; color: var(--copy-secondary); margin: 6px 0 0; }
.edo-hypro .entry-content .wp-block-table { overflow: auto; }
.edo-hypro .entry-content table { border-collapse: collapse; width: 100%; margin: 0 0 1em; }
.edo-hypro .entry-content th, .edo-hypro .entry-content td { padding: .53rem .63rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.edo-hypro .entry-content th, .edo-hypro .entry-content tr:nth-child(even) td { background: var(--surface); }
.edo-hypro .entry-content details { background: #f5f8fa; border: 1px solid var(--line); border-radius: 6px; padding: .65rem 1rem; margin-bottom: .75rem; }
.edo-hypro .entry-content summary { font-weight: 700; }
.edo-hypro .entry-meta, .edo-hypro .entry-footer { color: var(--copy-secondary); font-size: .9rem; }
.edo-hypro .post-navigation { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
.edo-hypro .nav-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.edo-hypro .wp-block-gallery, .edo-hypro .blocks-gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; list-style: none; padding: 0; }
.edo-hypro .wp-block-gallery figure, .edo-hypro .blocks-gallery-grid figure { margin: 0; }
.edo-hypro .wp-block-gallery img, .edo-hypro .blocks-gallery-grid img { display: block; width: 100%; }

/* Forms retain the original WordPress field structure */
.edo-hypro #contact { background: #eaf1f5; }
.edo-hypro #contact .contact-form, .edo-hypro #contact .col-sm-6:not(.contact-form), .edo-hypro .entry-content .wpforms-container {
  padding: clamp(17px, 3vw, 32px);
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.edo-hypro #contact .contact-form .wpforms-container { margin: 0; }
.edo-hypro .wpforms-field { margin-bottom: 14px; }
.edo-hypro .wpforms-field-label { display: block; font-weight: 650; margin-bottom: 5px; }
.edo-hypro .wpforms-field :is(input[type="text"], input[type="email"], textarea) {
  width: 100%;
  max-width: none;
  min-height: 44px;
  padding: .58em .7em;
  color: var(--ink);
  border: 1px solid #9fb0be;
  border-radius: 5px;
  background: var(--paper);
}
.edo-hypro .wpforms-field textarea { min-height: 120px; resize: vertical; }
.edo-hypro .wpforms-required-label { color: #9d342a; }
.edo-hypro :is(.wpforms-field-checkbox,.wpforms-field-gdpr-checkbox) ul { list-style: none; padding: 0; margin-bottom: .3rem; }
.edo-hypro :is(.wpforms-field-checkbox,.wpforms-field-gdpr-checkbox) input { accent-color: var(--green); margin-inline: 0 .4em; }
.edo-hypro :is(.wpforms-field-hp, .wpforms-field-honeypot, .wpforms-field-uneditable, .wpforms-submit-spinner) { display: none !important; }
.edo-hypro .wpforms-submit, .edo-hypro .video-action { background: var(--green); color: white; }
.edo-hypro .wpforms-submit:hover, .edo-hypro .video-action:hover { background: #135a34; }
.edo-hypro .preview-status { margin: .8em 0 0; color: var(--copy-secondary); }
.edo-hypro .search-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.edo-hypro .search-form input { min-height: 44px; border: 1px solid var(--line); padding: .5rem .7rem; border-radius: 5px; }
.edo-hypro .search-form input[type="submit"] { background: var(--navy); color: white; cursor: pointer; }
.edo-hypro .search-results-list { padding: 0; list-style: none; }
.edo-hypro .search-results-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }

/* Footer and local preview dialogs */
.edo-hypro #colophon { background: #11263e; color: #ebf2f7; font-size: .94rem; }
.edo-hypro #colophon :is(a,h2) { color: white; }
.edo-hypro #colophon .footer-widgets { background: transparent; padding: 33px 0 12px; }
.edo-hypro #colophon .footer-column { width: 100%; max-width: none; padding: 0; }
.edo-hypro #colophon .footer-widget { margin-bottom: 11px; }
.edo-hypro #colophon .footer-widget p { text-align: left; margin-bottom: .6em; }
.edo-hypro #colophon .footer-connect { background: transparent; padding: 4px 0 21px; }
.edo-hypro #colophon .footer-connect .row > div { margin: 0; padding: 0; min-width: 0; }
.edo-hypro #colophon .footer-social { display: flex; align-items: center; gap: 10px; }
.edo-hypro #colophon .follow-heading { font-size: 1rem; margin: 0; }
.edo-hypro #colophon .footer-social-icons a { font-weight: 700; text-decoration: none; }
.edo-hypro #colophon .footer-social-icons a::after { content: "in"; display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid #b9cddb; border-radius: 5px; }
.edo-hypro #colophon .footer-social-icons i, .edo-hypro #colophon .back-to-top i { display: none; }
.edo-hypro #colophon .site-info { padding: 13px 0; border-top: 1px solid #ffffff29; background: transparent; text-align: left; }
.edo-hypro #colophon .btt { float: right; position: static; }
.edo-hypro #colophon .back-to-top { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid #b9cddb; border-radius: 5px; text-decoration: none; position: static; }
.edo-hypro #colophon .back-to-top::after { content: "↑"; color: white; }
.edo-hypro dialog { width: min(92vw, 860px); max-height: 90vh; border: 0; border-radius: 8px; padding: 14px; color: var(--ink); }
.edo-hypro dialog::backdrop { background: #10283dbb; }
.edo-hypro dialog button { display: block; margin: 0 0 10px auto; padding: .45rem .7rem; background: var(--navy); color: #fff; border: 0; border-radius: 5px; }
.edo-hypro dialog :is(iframe,img) { width: 100%; display: block; }
.edo-hypro dialog iframe { aspect-ratio: 16/9; height: auto; border: 0; }
.edo-hypro dialog img { max-height: 75vh; object-fit: contain; }

@media (max-width: 1000px) {
  .edo-hypro #masthead .container { min-height: 75px; }
  .edo-hypro #masthead #nav-toggle {
    display: flex;
    align-items: center;
    gap: .5em;
    padding: .5rem .74rem;
    margin: 0;
    height: auto;
    color: var(--ink);
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 5px;
    font-weight: 650;
    line-height: 1.2;
    width: auto;
  }
  .edo-hypro #masthead #nav-toggle span { display: none; }
  .edo-hypro #masthead #nav-toggle::after { content: ""; width: 14px; height: 9px; border-block: 2px solid currentColor; }
  .edo-hypro #masthead #site-navigation { display: none; position: absolute; inset: 100% 0 auto; background: white; box-shadow: 0 14px 30px #11263e20; border-top: 1px solid var(--line); }
  .edo-hypro #masthead #site-navigation.is-open { display: block; }
  .edo-hypro #masthead .onepress-menu { display: block; padding: 6px var(--gutter) 14px; }
  .edo-hypro #masthead .onepress-menu > li + li { border-top: 1px solid var(--line); }
  .edo-hypro #masthead .onepress-menu a { padding: .63rem 0; }
  .edo-hypro #masthead .onepress-menu > li:last-child > a { display: inline-block; margin-top: 6px; }
  .edo-hypro #masthead .onepress-menu .sub-menu { display: block; position: static; padding: 0 0 0 14px; border: 0; box-shadow: none; }
  .edo-hypro #masthead .onepress-menu .sub-menu a { color: var(--copy-secondary); }
}

@media (max-width: 760px) {
  .edo-hypro #hero > .container { padding-top: 37px !important; }
  .edo-hypro #hero .hero__content { width: 100%; padding-bottom: 28px; }
  .edo-hypro #hero .hero-large-text { max-width: 16ch; font-size: clamp(2.25rem, 7.6vw, 3.3rem); }
  .edo-hypro #hero .hero-visual { position: relative; inset: auto; min-height: 0; aspect-ratio: 2.25; }
  .edo-hypro #hero .hero-visual::after { background: linear-gradient(180deg, var(--navy), transparent 18%); }
  .edo-hypro #hero .hero-highlights { margin-inline: 0; grid-template-columns: 1fr; border-top: 0; }
  .edo-hypro #hero .hero-highlights li { text-align: left; padding: 8px 0; }
  .edo-hypro #hero .hero-highlights li + li { border-left: 0; border-top: 1px solid #ffffff30; }
  .edo-hypro #hero .hero-highlights li:last-child { margin-bottom: 15px; }
  .edo-hypro #mission .row, .edo-hypro #hypro .row, .edo-hypro #contact .row { grid-template-columns: 1fr; }
  .edo-hypro #greenfluid .blog-entry, .edo-hypro:is(.blog, .archive) #main { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .edo-hypro :where(section,[id]) { scroll-margin-top: 17px; }
}
@media (max-width: 475px) {
  .edo-hypro #masthead .container { min-height: 67px; gap: 12px; }
  .edo-hypro #masthead .site-branding { flex-basis: 228px; }
  .edo-hypro #masthead #nav-toggle { font-size: .86rem; }
  .edo-hypro #greenfluid .blog-entry, .edo-hypro:is(.blog, .archive) #main { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .edo-hypro #hero .hero-visual img + img { animation: none; }
}
