@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --hyd-blue: #075fcc;
  --hyd-blue-dark: #003a70;
  --hyd-navy: #071d36;
  --hyd-steel: #5b6b7d;
  --hyd-mist: #f3f7fb;
  --hyd-line: #dbe5ee;
  --hyd-white: #fff;
  --hyd-signal: #e85820;
  --hyd-header-height: 84px;
  --hyd-shadow: 0 14px 34px rgba(7, 29, 54, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body > .wp-site-blocks {
  padding-block: 0;
}

body > .wp-site-blocks > * {
  margin-block-start: 0;
}

body.admin-bar .hyd-site-header {
  top: 32px;
}

a,
button,
input,
select,
textarea {
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #68a8ff;
  outline-offset: 3px;
}

.hyd-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: var(--hyd-header-height);
  padding-block: 0 !important;
  border-bottom: 1px solid rgba(7, 29, 54, 0.08);
  box-shadow: 0 4px 18px rgba(7, 29, 54, 0.06);
}

.hyd-header-inner {
  min-height: var(--hyd-header-height);
  gap: clamp(1rem, 2vw, 2.5rem);
}

.hyd-site-logo {
  flex: 0 0 auto;
}

.hyd-site-logo img {
  display: block;
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.hyd-primary-nav {
  flex: 1 1 auto;
}

.hyd-primary-nav .wp-block-navigation-item__content {
  position: relative;
  padding: 1.95rem 0.45rem;
  color: var(--hyd-navy);
  text-decoration: none;
}

.hyd-primary-nav .current-menu-item > .wp-block-navigation-item__content,
.hyd-primary-nav .wp-block-navigation-item__content:hover {
  color: var(--hyd-blue);
}

.hyd-primary-nav .current-menu-item > .wp-block-navigation-item__content::after,
.hyd-primary-nav .wp-block-navigation-item__content:hover::after {
  position: absolute;
  right: 0.45rem;
  bottom: 1.45rem;
  left: 0.45rem;
  height: 2px;
  background: var(--hyd-blue);
  content: "";
}

.hyd-header-cta {
  flex: 0 0 auto;
}

.hyd-header-cta .wp-block-button__link {
  white-space: nowrap;
}

.hyd-main {
  min-height: 50vh;
}

.hyd-main > :first-child:not(.alignfull) {
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

/* The home page starts with a full-bleed hero nested inside the post article. */
.hyd-front-main > .hyd-front-entry {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}

.hyd-main > .entry-content.wp-block-post-content {
  margin-block-start: 0 !important;
}

.hyd-main .alignfull {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  width: 100vw;
}

.hyd-hero {
  position: relative;
  min-height: clamp(520px, 53vw, 690px);
  margin-top: 0 !important;
  background-color: var(--hyd-blue-dark);
}

.hyd-hero .wp-block-cover__image-background {
  object-position: center center;
}

.hyd-hero .wp-block-cover__inner-container {
  width: min(1180px, calc(100% - 2rem));
}

.hyd-hero-content {
  max-width: 700px;
  margin-right: auto;
  margin-left: 0;
}

.hyd-hero h1 {
  margin-top: 0;
  max-width: 17ch;
  color: var(--hyd-white);
  font-size: clamp(2.55rem, 5.2vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hyd-hero p {
  max-width: 43ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 1.8vw, 1.4rem);
  line-height: 1.48;
}

.hyd-hero .wp-block-buttons {
  margin-top: 2rem;
}

.hyd-hero .is-style-outline .wp-block-button__link {
  border-color: rgba(255, 255, 255, 0.88);
  color: var(--hyd-white);
}

.hyd-hero .is-style-outline .wp-block-button__link:hover {
  border-color: var(--hyd-white);
  background: var(--hyd-white);
  color: var(--hyd-navy);
}

.hyd-section {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.hyd-section-compact {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hyd-section-intro {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  gap: 2rem;
}

.hyd-section-intro > * {
  flex: 1 1 calc(50% - 1rem);
}

.hyd-eyebrow {
  margin-bottom: 0.6rem;
  color: var(--hyd-blue);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hyd-section-title {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  text-wrap: balance;
}

.hyd-muted {
  color: var(--hyd-steel);
}

.hyd-product-families,
.hyd-application-grid,
.hyd-related-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem) clamp(1rem, 2vw, 1.5rem);
  width: min(1180px, calc(100% - 2rem));
  margin-right: auto;
  margin-left: auto;
}

.hyd-product-family,
.hyd-application-card,
.hyd-related-card {
  position: relative;
  min-width: 0;
}

.hyd-product-family__media,
.hyd-related-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--hyd-mist);
}

.hyd-product-family__media img,
.hyd-related-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hyd-product-family__body,
.hyd-related-card__body {
  position: relative;
  padding-top: 1rem;
  padding-right: 2.5rem;
}

.hyd-product-family h3,
.hyd-related-card h3,
.hyd-application-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.hyd-product-family h3 a,
.hyd-related-card h3 a,
.hyd-application-card h3 a {
  color: var(--hyd-blue);
  text-decoration: none;
}

.hyd-product-family p,
.hyd-related-card p {
  margin: 0;
  color: #32465b;
  font-size: 0.94rem;
  line-height: 1.5;
}

.hyd-card-arrow {
  position: absolute;
  right: 0;
  bottom: 0.3rem;
  color: var(--hyd-blue);
  font-size: 1.25rem;
}

.hyd-product-family:hover .hyd-product-family__media,
.hyd-related-card:hover .hyd-related-card__media {
  box-shadow: var(--hyd-shadow);
  transform: translateY(-2px);
}

.hyd-product-family:hover .hyd-card-arrow,
.hyd-related-card:hover .hyd-card-arrow {
  transform: translateX(4px);
}

.hyd-factory-section {
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
  background: var(--hyd-blue-dark);
  color: var(--hyd-white);
}

.hyd-factory-section h2,
.hyd-factory-section h3,
.hyd-factory-section p {
  color: inherit;
}

.hyd-factory-section .hyd-eyebrow {
  color: #76b7ff;
}

.hyd-factory-section .wp-block-columns {
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.hyd-factory-section img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hyd-proof-list {
  padding: 0;
  list-style: none;
}

.hyd-proof-list li {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hyd-proof-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--hyd-white);
}

.hyd-application-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hyd-application-card {
  overflow: hidden;
  background: var(--hyd-navy);
}

.hyd-application-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.hyd-application-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hyd-application-card__body {
  min-height: 116px;
  padding: 1.15rem 3rem 1.15rem 1.25rem;
}

.hyd-application-card h3 a,
.hyd-application-card p {
  color: var(--hyd-white);
}

.hyd-application-card p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.78;
}

.hyd-application-card .hyd-card-arrow {
  right: 1rem;
  bottom: 1.25rem;
  color: #76b7ff;
}

.hyd-application-card:hover img {
  transform: scale(1.025);
}

.hyd-video-placeholder {
  min-height: 420px;
  background-position: center;
  background-size: cover;
}

.hyd-video-placeholder .wp-block-cover__inner-container {
  max-width: 740px;
}

.hyd-inquiry-section {
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
  background: var(--hyd-mist);
}

.hyd-inquiry-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background: var(--hyd-white);
  border: 1px solid var(--hyd-line);
  box-shadow: var(--hyd-shadow);
}

.hyd-inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hyd-form-field {
  min-width: 0;
}

.hyd-form-field--full,
.hyd-form-actions,
.hyd-form-notice,
.hyd-form-privacy {
  grid-column: 1 / -1;
}

.hyd-inquiry-form label {
  display: block;
  margin-bottom: 0.38rem;
  color: var(--hyd-navy);
  font-size: 0.88rem;
  font-weight: 700;
}

.hyd-required {
  color: #b42318;
}

.hyd-inquiry-form input,
.hyd-inquiry-form select,
.hyd-inquiry-form textarea,
.wp-block-search__input {
  width: 100%;
  min-height: 48px;
  padding: 0.78rem 0.9rem;
  border: 1px solid #aebdca;
  border-radius: 2px;
  background: var(--hyd-white);
  color: var(--hyd-navy);
  font: inherit;
}

.hyd-inquiry-form textarea {
  min-height: 142px;
  resize: vertical;
}

.hyd-inquiry-form input:focus,
.hyd-inquiry-form select:focus,
.hyd-inquiry-form textarea:focus {
  border-color: var(--hyd-blue);
  box-shadow: 0 0 0 3px rgba(7, 95, 204, 0.15);
}

.hyd-form-actions button {
  min-height: 50px;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--hyd-blue);
  border-radius: 3px;
  background: var(--hyd-blue);
  color: var(--hyd-white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hyd-form-actions button:hover {
  border-color: var(--hyd-blue-dark);
  background: var(--hyd-blue-dark);
}

.hyd-form-privacy {
  margin: 0;
  color: var(--hyd-steel);
  font-size: 0.78rem;
}

.hyd-form-notice {
  margin: 0 0 0.5rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--hyd-blue);
  background: #eaf4ff;
  color: var(--hyd-navy);
}

.hyd-form-notice--error {
  border-left-color: #b42318;
  background: #fff0ee;
}

.hyd-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.hyd-contact-details {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hyd-contact-details li {
  margin-bottom: 0.65rem;
}

.hyd-contact-details a,
.hyd-site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.hyd-contact-details a:hover,
.hyd-site-footer a:hover {
  color: var(--hyd-white);
}

.hyd-page-main,
.hyd-archive-main,
.hyd-single-main,
.hyd-product-main,
.hyd-error-page {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.hyd-page-heading,
.hyd-article-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.hyd-product-hero {
  align-items: center !important;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  gap: clamp(2rem, 5vw, 4rem);
}

.hyd-product-hero .wp-block-post-featured-image {
  background: var(--hyd-mist);
}

.hyd-specs {
  width: min(900px, 100%);
  margin: 3rem auto;
  border-collapse: collapse;
}

.hyd-specs caption {
  margin-bottom: 1rem;
  color: var(--hyd-navy);
  font-size: 1.75rem;
  font-weight: 700;
  text-align: left;
}

.hyd-specs th,
.hyd-specs td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--hyd-line);
  text-align: left;
  vertical-align: top;
}

.hyd-specs th {
  width: 36%;
  background: var(--hyd-mist);
  color: var(--hyd-navy);
}

.hyd-query {
  margin-top: 3rem;
}

.hyd-post-card {
  height: 100%;
  padding: 0 0 1.25rem;
  border-bottom: 2px solid var(--hyd-line);
}

.hyd-post-card .wp-block-post-featured-image {
  background: var(--hyd-mist);
}

.hyd-search-result {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--hyd-line);
}

.hyd-site-footer {
  padding-top: 4.5rem;
  padding-bottom: 1.5rem;
}

.hyd-site-footer h3,
.hyd-site-footer h4,
.hyd-site-footer p {
  color: inherit;
}

.hyd-footer-grid {
  gap: 2.5rem;
}

.hyd-footer-nav .wp-block-navigation-item__content {
  padding: 0.2rem 0;
}

.hyd-footer-separator {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.42;
}

.hyd-footer-legal {
  color: rgba(255, 255, 255, 0.68);
}

.hyd-mobile-quote {
  display: none;
}

@media (max-width: 1024px) {
  .hyd-header-inner .hyd-header-cta {
    display: none;
  }

  .hyd-primary-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }

  .hyd-primary-nav .wp-block-navigation__responsive-container-open {
    display: flex !important;
  }

  .hyd-product-families,
  .hyd-application-grid,
  .hyd-related-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hyd-inquiry-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  body.admin-bar .hyd-site-header {
    top: 46px;
  }

  .hyd-site-header,
  .hyd-header-inner {
    min-height: 70px;
  }

  .hyd-site-logo img {
    max-width: 180px;
    max-height: 48px;
  }

  .hyd-primary-nav {
    justify-content: flex-end;
  }

  .hyd-primary-nav .wp-block-navigation__responsive-container.is-menu-open {
    padding: 1.25rem;
    background: var(--hyd-white);
  }

  .hyd-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    width: 100%;
    padding: 0.85rem 0;
    font-size: 1.2rem;
  }

  .hyd-hero {
    min-height: 620px;
  }

  .hyd-hero .wp-block-cover__image-background {
    object-position: 64% center;
  }

  .hyd-hero::before {
    opacity: 0.5 !important;
  }

  .hyd-hero-content {
    max-width: 90%;
    padding-top: 10rem;
  }

  .hyd-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.45rem, 11vw, 3.6rem);
  }

  .hyd-section-intro {
    display: block !important;
  }

  .hyd-product-families,
  .hyd-application-grid,
  .hyd-related-products {
    grid-template-columns: 1fr;
  }

  .hyd-product-family__media,
  .hyd-related-card__media {
    aspect-ratio: 16 / 10;
  }

  .hyd-inquiry-form {
    grid-template-columns: 1fr;
  }

  .hyd-form-field,
  .hyd-form-actions,
  .hyd-form-notice,
  .hyd-form-privacy {
    grid-column: 1;
  }

  .hyd-footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  .hyd-footer-grid > .wp-block-column:first-child {
    grid-column: 1 / -1;
  }

  .hyd-mobile-quote {
    position: fixed;
    z-index: 999;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border-radius: 3px;
    background: var(--hyd-blue);
    box-shadow: 0 8px 28px rgba(7, 29, 54, 0.28);
    color: var(--hyd-white) !important;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
  }
}

@media (min-width: 601px) and (max-width: 782px) {
  .hyd-product-families,
  .hyd-application-grid,
  .hyd-related-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .hyd-hero-content {
    max-width: 100%;
  }

  .hyd-hero .wp-block-buttons {
    align-items: stretch;
    width: 100%;
  }

  .hyd-hero .wp-block-button,
  .hyd-hero .wp-block-button__link {
    width: 100%;
    text-align: center;
  }

  .hyd-footer-grid {
    grid-template-columns: 1fr;
  }

  .hyd-footer-grid > .wp-block-column:first-child {
    grid-column: auto;
  }

  .hyd-specs,
  .hyd-specs tbody,
  .hyd-specs tr,
  .hyd-specs th,
  .hyd-specs td {
    display: block;
    width: 100%;
  }

  .hyd-specs td {
    padding-top: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Classic PHP theme layout and navigation. */
body {
  margin: 0;
  padding: 0;
  background: var(--hyd-white);
  color: var(--hyd-navy);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

.wp-site-blocks {
  min-height: 100vh;
}

.alignwide,
.hyd-content-shell {
  width: min(1180px, calc(100% - 2rem));
  max-width: 1180px;
  margin-inline: auto;
}

.hyd-skip-link {
  position: fixed;
  z-index: 10000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--hyd-navy);
  color: var(--hyd-white);
  transform: translateY(-160%);
}

.hyd-skip-link:focus {
  color: var(--hyd-white);
  transform: translateY(0);
}

.hyd-site-header {
  background: var(--hyd-white);
}

.hyd-classic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hyd-site-title,
.hyd-footer-site-title {
  color: var(--hyd-navy);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 750;
  line-height: 1.15;
  text-decoration: none;
}

.hyd-classic-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hyd-nav-toggle {
  display: none;
}

.hyd-menu,
.hyd-menu ul,
.hyd-footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hyd-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.25rem, 1vw, 1rem);
}

.hyd-menu li {
  position: relative;
}

.hyd-menu > li > a {
  position: relative;
  display: block;
  padding: 1.85rem 0.55rem;
  color: var(--hyd-navy);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.hyd-menu > li.current-menu-item > a,
.hyd-menu > li.current-menu-ancestor > a,
.hyd-menu > li > a:hover {
  color: var(--hyd-blue);
}

.hyd-menu > li.current-menu-item > a::after,
.hyd-menu > li.current-menu-ancestor > a::after,
.hyd-menu > li > a:hover::after {
  position: absolute;
  right: 0.55rem;
  bottom: 1.35rem;
  left: 0.55rem;
  height: 2px;
  background: var(--hyd-blue);
  content: "";
}

.hyd-menu .sub-menu {
  position: absolute;
  top: calc(100% - 0.4rem);
  left: 0;
  display: none;
  min-width: 230px;
  padding: 0.55rem;
  border: 1px solid var(--hyd-line);
  background: var(--hyd-white);
  box-shadow: var(--hyd-shadow);
}

.hyd-menu li:hover > .sub-menu,
.hyd-menu li:focus-within > .sub-menu {
  display: block;
}

.hyd-menu .sub-menu a {
  display: block;
  padding: 0.65rem 0.75rem;
  color: var(--hyd-navy);
  font-size: 0.9rem;
  text-decoration: none;
}

.hyd-menu .sub-menu a:hover,
.hyd-menu .sub-menu a:focus-visible {
  background: var(--hyd-mist);
  color: var(--hyd-blue);
}

.hyd-entry-content {
  width: min(760px, 100%);
  margin-inline: auto;
}

.hyd-entry-content--wide {
  width: 100%;
}

.hyd-entry-content > .alignwide {
  width: min(1180px, calc(100vw - 2rem));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.hyd-front-entry > .hyd-entry-content {
  width: min(760px, calc(100% - 2rem));
}

.hyd-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2rem;
  color: var(--hyd-steel);
  font-size: 0.86rem;
}

.hyd-breadcrumbs a {
  color: var(--hyd-blue);
}

.hyd-page-heading,
.hyd-article-header {
  width: min(760px, 100%);
  margin-inline: auto;
}

.hyd-page-heading h1,
.hyd-article-header h1,
.hyd-product-summary h1 {
  margin-top: 0;
  font-size: clamp(2.25rem, 5vw, 4.15rem);
  line-height: 1.07;
  letter-spacing: -0.035em;
}

.hyd-lead {
  color: var(--hyd-steel);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hyd-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.5rem);
}

.hyd-card-grid .hyd-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--hyd-line);
  background: var(--hyd-white);
}

.hyd-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--hyd-mist);
}

.hyd-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.hyd-post-card:hover .hyd-card-media img {
  transform: scale(1.025);
}

.hyd-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem;
}

.hyd-card-body h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.hyd-card-body h2 a {
  color: var(--hyd-navy);
  text-decoration: none;
}

.hyd-card-excerpt {
  color: var(--hyd-steel);
}

.hyd-card-excerpt > :last-child {
  margin-bottom: 0;
}

.hyd-card-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.hyd-entry-meta {
  margin: 0 0 0.5rem;
  color: var(--hyd-steel);
  font-size: 0.84rem;
}

.hyd-search-list .hyd-post-card {
  padding: 1.5rem 0;
}

.hyd-search-list .hyd-card-media {
  display: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--hyd-line);
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
  border-color: var(--hyd-blue);
  background: var(--hyd-blue);
  color: var(--hyd-white);
}

.hyd-single-media {
  width: min(980px, 100%);
  margin: 0 auto clamp(2rem, 5vw, 4rem);
}

.hyd-single-media img,
.hyd-product-media img {
  display: block;
  width: 100%;
  height: auto;
}

.hyd-classic-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.hyd-product-media {
  margin: 0;
  background: var(--hyd-mist);
}

.hyd-main .hyd-contact-details a {
  color: var(--hyd-blue);
}

.hyd-main .hyd-contact-details a:hover {
  color: var(--hyd-blue-dark);
}

.hyd-site-footer {
  padding-inline: 1rem;
  background: var(--hyd-navy);
}

.hyd-site-footer .hyd-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
}

.hyd-site-footer h2,
.hyd-site-footer h3 {
  margin-top: 0;
  color: var(--hyd-white);
}

.hyd-site-footer h3 {
  font-size: 1rem;
}

.hyd-footer-site-title {
  color: var(--hyd-white);
}

.hyd-footer-brand p {
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.hyd-footer-menu li + li {
  margin-top: 0.3rem;
}

.hyd-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
}

.hyd-footer-menu a {
  display: inline-block;
  padding: 0.12rem 0;
  text-decoration: none;
}

.hyd-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
}

.hyd-footer-legal p {
  margin: 0;
}

.hyd-search-form {
  width: min(620px, 100%);
}

.hyd-search-form > label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.hyd-search-row {
  display: flex;
}

.hyd-search-row input {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--hyd-line);
  border-radius: 3px 0 0 3px;
}

.hyd-search-row button {
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--hyd-blue);
  border-radius: 0 3px 3px 0;
  background: var(--hyd-blue);
  color: var(--hyd-white);
  font-weight: 700;
  cursor: pointer;
}

.hyd-empty-state,
.hyd-error-content,
.hyd-comments {
  width: min(760px, 100%);
  margin-inline: auto;
}

@media (max-width: 1024px) {
  .hyd-classic-nav {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .hyd-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--hyd-line);
    border-radius: 3px;
    background: var(--hyd-white);
    color: var(--hyd-navy);
    cursor: pointer;
  }

  .hyd-nav-toggle__icon,
  .hyd-nav-toggle__icon::before,
  .hyd-nav-toggle__icon::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
  }

  .hyd-nav-toggle__icon {
    position: relative;
  }

  .hyd-nav-toggle__icon::before {
    position: absolute;
    top: -7px;
  }

  .hyd-nav-toggle__icon::after {
    position: absolute;
    top: 7px;
  }

  .hyd-classic-nav.is-menu-open .hyd-nav-toggle__icon {
    background: transparent;
  }

  .hyd-classic-nav.is-menu-open .hyd-nav-toggle__icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .hyd-classic-nav.is-menu-open .hyd-nav-toggle__icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .hyd-nav-panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - var(--hyd-header-height));
    overflow-y: auto;
    padding: 0.75rem 1rem 1.25rem;
    border-top: 1px solid var(--hyd-line);
    background: var(--hyd-white);
    box-shadow: 0 16px 28px rgba(7, 29, 54, 0.12);
  }

  .hyd-classic-nav.is-menu-open .hyd-nav-panel {
    display: block;
  }

  .hyd-menu {
    display: block;
    width: min(100%, 1180px);
    margin-inline: auto;
  }

  .hyd-menu > li > a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--hyd-line);
    font-size: 1.05rem;
  }

  .hyd-menu > li > a::after {
    display: none;
  }

  .hyd-menu .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0.3rem 0 0.55rem 1rem;
    border: 0;
    box-shadow: none;
  }

  .hyd-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hyd-site-footer .hyd-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hyd-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 782px) {
  .hyd-classic-product-hero,
  .hyd-card-grid {
    grid-template-columns: 1fr;
  }

  .hyd-classic-product-hero {
    gap: 1.5rem;
  }

  .hyd-site-footer .hyd-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hyd-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .hyd-site-footer .hyd-footer-grid {
    grid-template-columns: 1fr;
  }

  .hyd-footer-brand {
    grid-column: auto;
  }
}
