/* ================================================================
   CHEM-BUD WORDPRESS EXTENSIONS
   Mobile first. The only main breakpoint starts at 992px.
   ================================================================ */

/* WordPress content reset */
.entry-content,
.wp-site-blocks {
  margin: 0;
}

/* Grouped realization galleries */
.realizations-block {
  background: var(--white);
}

.realizations-section {
  padding-block: 60px;
}

.realizations-section:nth-child(even) {
  background: var(--light-gray);
}

.realizations-section__content {
  max-width: 820px;
}

.realizations-section__content .section-label {
  margin-bottom: 18px;
}

.realizations-section__content h2 + p,
.realizations-section__content h2 + ul,
.realizations-section__content h2 + ol {
  margin-top: 18px;
}

.realizations-section__content p:not(.section-label),
.realizations-section__content li {
  color: var(--slate);
  font-size: 16px;
  line-height: 26px;
}

.realizations-section__content ul,
.realizations-section__content ol {
  display: grid;
  margin-top: 16px;
  padding-left: 20px;
  gap: 7px;
}

.realizations-section__content ul {
  list-style: disc;
}

.realizations-section__content ol {
  list-style: decimal;
}

.realizations-section__content li::marker {
  color: var(--yellow);
}

.realizations-grid {
  display: grid;
  margin-top: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.realizations-grid__item {
  position: relative;
  display: block;
  overflow: hidden;
  background: #dfe5ee;
  box-shadow: var(--shadow-card);
  isolation: isolate;
}

.realizations-block.is-landscape .realizations-grid__item {
    aspect-ratio: 1 / 1;
}

.realizations-block.is-square .realizations-grid__item {
  aspect-ratio: 1;
}

.realizations-grid__item[hidden] {
  display: none;
}

.realizations-grid__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}

.realizations-block.is-natural .realizations-grid__item img {
  height: auto;
}

.realizations-grid__overlay {
  position: absolute;
  display: grid;
  color: var(--yellow);
  background: rgba(0, 51, 153, .72);
  opacity: 0;
  inset: 0;
  place-items: center;
  transition: opacity .3s ease;
}

.realizations-grid__overlay .theme-icon {
  transform: translateY(8px) scale(.85);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.realizations-grid__item:hover img,
.realizations-grid__item:focus-visible img {
  transform: scale(1.055);
}

.realizations-grid__item:hover .realizations-grid__overlay,
.realizations-grid__item:focus-visible .realizations-grid__overlay {
  opacity: 1;
}

.realizations-grid__item:hover .realizations-grid__overlay .theme-icon,
.realizations-grid__item:focus-visible .realizations-grid__overlay .theme-icon {
  transform: translateY(0) scale(1);
}

.realizations-section__more {
  margin: 32px auto 0;
}

.fancybox__container {
  z-index: 10000;
  --fancybox-bg: rgba(2, 28, 76, .96);
  --fancybox-color: #fff;
  --fancybox-accent-color: var(--yellow);
}

@media (min-width: 700px) {
  .realizations-grid {
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .realizations-section {
    padding-block: 96px;
  }

  .realizations-section__content .section-label {
    margin-bottom: 20px;
  }

  .realizations-grid {
    margin-top: 48px;
    grid-template-columns: repeat(var(--realizations-columns, 4), minmax(0, 1fr));
    gap: 24px 20px;
  }

  .realizations-section__more {
    margin-top: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .realizations-grid__item img,
  .realizations-grid__overlay,
  .realizations-grid__overlay .theme-icon {
    transition-duration: .01ms;
  }
}

.alignwide,
.alignfull {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

/* WordPress menu classes must not inherit the desktop header navigation rules. */
.site-footer .menu {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.site-footer .menu-item > a,
.site-footer .menu-item.current-menu-item > a {
  min-height: 0;
  padding: 0;
  color: inherit;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  text-transform: none;
}

.site-footer .menu-item > a:hover,
.site-footer .menu-item > a:focus-visible,
.site-footer .menu-item.current-menu-item > a:hover,
.site-footer .menu-item.current-menu-item > a:focus-visible {
  color: var(--yellow);
}

/* Media and text */
.media-text {
  padding: 64px 0;
  background: var(--white);
}

.media-text.is-dark {
  color: var(--white);
  background: var(--navy-dark);
}

.media-text__grid {
  display: grid;
  gap: 40px;
}

.media-text__media {
  min-height: 320px;
  overflow: hidden;
  background: #e9edf4;
}

.media-text__media img,
.media-text__media video,
.media-text__embed,
.media-text__embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  object-fit: cover;
}

.media-text__content h2 {
  margin: 18px 0 24px;
}

.media-text__content p + p {
  margin-top: 18px;
}

.media-text__content .btn {
  margin-top: 30px;
}

.media-text.is-dark .media-text__content h2,
.media-text.is-dark .media-text__content p {
  color: var(--white);
}

/* CTA */
.cta-block {
  --cta-overlay: .78;
  --cta-image-position: center center;
  position: relative;
  display: grid;
  min-height: 420px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.cta-block__background {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.cta-block__background::before,
.cta-block__background::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: '';
  pointer-events: none;
}

.cta-block__background::before {
  background: rgba(0, 51, 153, var(--cta-overlay));
}

.cta-block__background::after {
  background: linear-gradient(180deg, rgba(0, 51, 153, 0) 0%, rgba(0, 51, 153, .8) 100%);
}

.cta-block__background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--cta-image-position);
}

.cta-block__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 420px;
  align-items: center;
  justify-content: center;
  padding: 64px var(--container-pad);
}

.cta-block__content {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding: 0;
}

.cta-block__content h2,
.cta-block__content p {
  color: inherit;
}

.cta-block__content h2 {
  margin: 0;
}

.cta-block__content .section-label {
  color: var(--yellow);
}

.cta-block__content .section-label + h2 {
  margin-top: 16px;
}

.cta-block__content h2 .is-muted {
  color: #c8d2e1;
}

.cta-block__content > p:not(.section-label) {
  max-width: 560px;
  margin-top: 18px;
  color: #c8d2e1;
  font-size: 16px;
  line-height: 26px;
}

.cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.cta-block__actions .btn {
  height: 60px;
  min-width: 232px;
  min-height: 60px;
  padding: 16px 32px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: .5px;
}

.cta-block.is-centered,
.cta-block.is-background {
  text-align: center;
}

.cta-block.is-centered .cta-block__content > p:not(.section-label),
.cta-block.is-background .cta-block__content > p:not(.section-label) {
  margin-right: auto;
  margin-left: auto;
}

.cta-block.is-centered .cta-block__actions,
.cta-block.is-background .cta-block__actions {
  justify-content: center;
}

/* Icon columns */
.icon-text-columns {
  padding: 64px 0;
  background: #f5f6f8;
}

.icon-text-columns__head {
  margin-bottom: 36px;
}

.icon-text-columns__head h2 {
  margin-top: 18px;
}

.icon-text-columns__grid {
  display: grid;
  gap: 20px;
}

.icon-text-columns .value-card {
  min-height: 230px;
  padding: 30px 25px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.value-card__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  color: var(--navy);
  background: var(--yellow);
  place-items: center;
}

.icon-text-columns .value-card h3 {
  margin-bottom: 12px;
}

.icon-text-columns .value-card > a {
  display: inline-flex;
  margin-top: 18px;
  border-bottom: 2px solid var(--yellow);
  color: var(--navy);
  font-weight: 600;
}

/* Text block */
.text-block {
  padding: 64px 0;
  background: var(--white);
}

.text-block__content > * + * {
  margin-top: 20px;
}

.text-block__content h2,
.text-block__content h3 {
  margin-top: 32px;
}

.text-block__content ul,
.text-block__content ol,
.single-entry__copy ul,
.single-entry__copy ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  list-style: disc;
}

.text-block__content ol,
.single-entry__copy ol {
  list-style: decimal;
}

.text-block.is-narrow .text-block__content {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

/* Generic gallery */
.content-gallery {
  padding: 64px 0;
  overflow: hidden;
  background: #f5f6f8;
}

.content-gallery__head {
  margin-bottom: 32px;
}

.content-gallery .scroll-row figure {
  width: min(78vw, 347px);
  overflow: hidden;
  background: #dfe4ec;
  box-shadow: var(--shadow-card);
}

.content-gallery .scroll-row img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}

.content-gallery.is-square .scroll-row figure {
  aspect-ratio: 1;
}

.content-gallery.is-landscape .scroll-row figure {
  aspect-ratio: 16 / 10;
}

.content-gallery .scroll-row figure:hover img {
  transform: scale(1.05);
}

/* Map and logos */
.map-block,
.logos-block {
  padding: 64px 0;
  background: var(--white);
}

.map-block__head,
.logos-block__head {
  margin-bottom: 32px;
}

.map-block__embed {
  min-height: 420px;
  overflow: hidden;
  background: #e9edf4;
}

.map-block__embed iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.logos-block__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.logos-block__grid > * {
  display: grid;
  min-height: 120px;
  padding: 20px;
  background: #f5f6f8;
  place-items: center;
}

.logos-block__grid img {
  max-width: 150px;
  max-height: 70px;
  object-fit: contain;
}

/* Theme contact form */
.contact-form > form {
  width: 100%;
}

.contact-form .wpcf7,
.contact-form .wpcf7-form {
  width: 100%;
}

.contact-form .wpcf7-form label.contact-form__field {
  position: relative;
  top: auto;
  left: auto;
  display: block;
  min-height: 72px;
  color: var(--navy-dark);
  font-size: 14px;
  line-height: 20px;
  pointer-events: auto;
  transform: none;
}

.contact-form .wpcf7-form .contact-form__label {
  display: block;
  margin-bottom: 3px;
  color: var(--muted-slate);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .35px;
  line-height: 18px;
  text-transform: uppercase;
}

.contact-form .wpcf7-form-control-wrap {
  display: block;
}

.contact-form .wpcf7-form .contact-form__row {
  display: block;
}

.contact-form .wpcf7-form .contact-form__row > p {
  display: grid;
  margin: 0;
  grid-template-columns: 1fr;
}

.contact-form .wpcf7-form br {
  display: none;
}

.contact-form .wpcf7-form input[type='text'],
.contact-form .wpcf7-form input[type='email'],
.contact-form .wpcf7-form input[type='tel'],
.contact-form .wpcf7-form textarea {
  display: block;
  width: 100%;
  height: 42px;
  padding: 5px 0 9px;
  border: 0;
  border-bottom: 2px solid var(--line-gray);
  border-radius: 0;
  outline: 0;
  background: transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.contact-form .wpcf7-form textarea {
  height: 82px;
  min-height: 82px;
  resize: vertical;
}

.contact-form .wpcf7-form .contact-form__field--message {
  min-height: 110px;
}

.contact-form .wpcf7-form input:focus,
.contact-form .wpcf7-form textarea:focus {
  border-bottom-color: var(--navy);
  box-shadow: 0 1px 0 var(--navy);
}

.contact-form .wpcf7-form .wpcf7-not-valid {
  border-bottom-color: #c62828;
}

.contact-form .wpcf7-not-valid-tip {
  margin-top: 4px;
  color: #a61b1b;
  font-size: 12px;
  line-height: 16px;
}

.contact-form input.wpcf7-submit.btn {
  display: block;
  width: 100%;
  height: 54px;
  margin-top: 22px;
  padding: 13px 24px;
  border: 2px solid var(--yellow);
  color: var(--navy-dark);
  background: var(--yellow);
  cursor: pointer;
}

.contact-form input.wpcf7-submit.btn:hover,
.contact-form input.wpcf7-submit.btn:focus-visible {
  border-color: var(--yellow-hover);
  background: var(--yellow-hover);
}

.contact-form .wpcf7-spinner {
  position: absolute;
  right: 42px;
  bottom: 55px;
  margin: 0;
}

.contact-form .wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 10px 12px !important;
  border-width: 0 0 0 3px !important;
  font-size: 13px;
  line-height: 18px;
}

.contact-form__honeypot {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-message {
  margin: 18px 0;
  padding: 12px 16px;
  font-weight: 600;
}

.form-message.is-success {
  color: #14532d;
  background: #dcfce7;
}

.form-message.is-error {
  color: #7f1d1d;
  background: #fee2e2;
}

/* Location pages */
.location-page .media-text {
  background: var(--white);
}

.location-page .media-text__content strong,
.location-page .media-text__content a:not(.btn) {
  color: var(--navy);
  font-weight: 650;
}

.location-page .media-text__content a:not(.btn) {
  transition: color var(--transition-base), opacity var(--transition-base);
}

.location-page .media-text__content a:not(.btn):hover,
.location-page .media-text__content a:not(.btn):focus-visible {
  color: var(--navy-dark);
  opacity: .7;
}

.location-page .icon-text-columns__head > p:not(.section-label) {
  max-width: 720px;
  margin-top: 18px;
  color: var(--slate);
}

.location-page .icon-text-columns .value-card {
  min-height: 290px;
  border-top: 3px solid transparent;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .25s ease, box-shadow .35s ease;
}

.location-page .icon-text-columns .value-card:hover {
  border-top-color: var(--yellow);
  box-shadow: 0 16px 34px rgba(2, 28, 76, .12);
  transform: translateY(-6px);
}

.location-page .map-block {
  background: var(--white);
}

.location-page .map-block__head {
  max-width: 760px;
}

.location-page .map-block__head h2 {
  margin-top: 18px;
}

.location-page .map-block__head > p:not(.section-label) {
  max-width: 650px;
  margin-top: 18px;
  color: var(--slate);
  font-size: 16px;
  line-height: 27px;
}

.location-page .map-block__embed {
  border-top: 4px solid var(--yellow);
  box-shadow: 0 18px 40px rgba(2, 28, 76, .12);
}

.location-page .contact-cta {
  min-height: 0;
  overflow: hidden;
  padding-bottom: 64px;
}

.location-page .contact-cta__bg {
  height: 100%;
}

.location-page .contact-cta .contact-form {
  height: auto;
  min-height: 560px;
}

.category-slider__btn--prev .theme-icon {
  transform: rotate(180deg);
}

/* Content archives */
.content-archive {
  padding: 64px 0 80px;
  overflow: hidden;
  background: #f5f6f8;
}

.content-grid {
  display: flex;
  gap: 20px;
  margin-right: -25px;
  padding-right: 25px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.content-grid::-webkit-scrollbar {
  display: none;
}

.content-card {
  width: min(78vw, 390px);
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  scroll-snap-align: start;
  transition: box-shadow .35s ease, transform .35s ease;
}

.content-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(2, 28, 76, .18);
}

.content-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfe4ec;
}

.content-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.content-card:hover .content-card__media img {
  transform: scale(1.05);
}

.content-card__body {
  padding: 26px 24px 30px;
  border-left: 4px solid var(--yellow);
}

.content-card__body h2 {
  margin: 12px 0;
  font-size: 28px;
  line-height: 34px;
}

.content-card__body h2 a {
  color: var(--navy-dark);
}

.content-pagination {
  margin-top: 44px;
}

.content-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.content-pagination a,
.content-pagination span {
  display: grid;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  color: var(--navy);
  background: var(--white);
  place-items: center;
}

.content-pagination .current,
.content-pagination a:hover {
  color: var(--navy-dark);
  background: var(--yellow);
}

/* Single CPT */

/* Product single */
.product-overview {
  padding-block: 64px;
  color: var(--white);
  background: var(--navy-dark);
}

.product-overview__grid {
  display: grid;
  gap: 44px;
}

.product-overview__copy {
  max-width: 760px;
}

.product-overview__copy h2,
.product-overview__copy h3,
.product-overview__copy strong {
  color: var(--white);
}

.product-overview__copy h2,
.product-overview__copy h3 {
  margin-top: 36px;
}

.product-overview__copy > :first-child {
  margin-top: 0;
}

.product-overview__copy > * + * {
  margin-top: 18px;
}

.product-overview__copy p,
.product-overview__copy li {
  color: #d9e1ef;
  font-size: 16px;
  line-height: 27px;
}

.product-overview__copy ul,
.product-overview__copy ol {
  display: grid;
  padding-left: 21px;
  gap: 8px;
}

.product-overview__copy ul {
  list-style: disc;
}

.product-overview__copy ol {
  list-style: decimal;
}

.product-overview__copy li::marker {
  color: var(--yellow);
}

.product-overview__copy a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-specs {
  align-self: start;
  padding: 30px 26px;
  border-top: 4px solid var(--yellow);
  background: rgba(0, 51, 153, .5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .16);
}

.product-specs .section-label {
  margin-bottom: 14px;
  color: var(--yellow);
}

.product-specs h2 {
  color: var(--white);
}

.product-specs dl {
  display: grid;
  margin-top: 28px;
}

.product-specs dl > div {
  display: grid;
  padding-block: 14px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  gap: 5px;
}

.product-specs dt {
  color: #b9c8df;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  text-transform: uppercase;
}

.product-specs dd {
  margin: 0;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  line-height: 23px;
}

.product-gallery,
.product-recommendations {
  padding-block: 64px;
}

.product-gallery {
  background: var(--white);
}

.product-recommendations {
  background: var(--light-gray);
}

.product-section-head {
  max-width: 800px;
  margin-bottom: 32px;
}

.product-section-head .section-label,
.product-related-services__head .section-label {
  margin-bottom: 16px;
}

.product-section-head h2,
.product-related-services h2 {
  color: var(--navy);
}

.product-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dfe5ee;
  box-shadow: var(--shadow-card);
}

.product-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}

.product-gallery__overlay {
  position: absolute;
  display: grid;
  color: var(--yellow);
  background: rgba(0, 51, 153, .7);
  opacity: 0;
  inset: 0;
  place-items: center;
  transition: opacity .3s ease;
}

.product-gallery__overlay .theme-icon {
  transform: translateY(8px) scale(.85);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.product-gallery__item:hover img,
.product-gallery__item:focus-visible img {
  transform: scale(1.055);
}

.product-gallery__item:hover .product-gallery__overlay,
.product-gallery__item:focus-visible .product-gallery__overlay {
  opacity: 1;
}

.product-gallery__item:hover .product-gallery__overlay .theme-icon,
.product-gallery__item:focus-visible .product-gallery__overlay .theme-icon {
  transform: translateY(0) scale(1);
}

.product-recommendations__products {
  margin: 0;
  padding: 0;
}

.product-related-services {
  max-width: 860px;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid #d9dee7;
}

.product-related-services__head {
  margin-bottom: 28px;
}

.product-related-services__grid {
  display: grid;
  gap: 16px;
}

.product-service-card {
  display: grid;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: box-shadow .35s ease, transform .35s ease;
}

.product-service-card:hover,
.product-service-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(2, 28, 76, .16);
}

.product-service-card__media {
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.product-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product-service-card:hover .product-service-card__media img,
.product-service-card:focus-visible .product-service-card__media img {
  transform: scale(1.05);
}

.product-service-card__body {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-left: 4px solid var(--yellow);
  gap: 20px;
}

.product-service-card__body strong {
  color: var(--navy-dark);
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 600;
  line-height: 29px;
  text-transform: uppercase;
}

.product-service-card__body .theme-icon {
  flex: 0 0 auto;
  color: var(--navy);
}

.product-cta {
  border-top: 6px solid var(--yellow);
}

.single-entry__meta {
  padding: 28px 0;
  color: var(--white);
  background: var(--navy);
}

.single-entry__meta dl,
.single-entry__parameters dl {
  display: grid;
  gap: 16px;
}

.single-entry__meta dl > div,
.single-entry__parameters dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.single-entry__meta dt,
.single-entry__parameters dt {
  font-weight: 600;
}

.single-entry__content {
  padding: 64px 0;
  background: var(--white);
}

.single-entry__copy {
  max-width: 900px;
}

.single-entry__copy > * + * {
  margin-top: 20px;
}

.single-entry__copy h2,
.single-entry__copy h3 {
  margin-top: 34px;
}

.single-entry__benefits {
  display: grid;
  gap: 16px;
  margin-top: 44px;
}

.single-entry__benefits article {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 24px;
  background: #f5f6f8;
}

.single-entry__benefits h2 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 30px;
}

.single-entry__parameters {
  max-width: 760px;
  margin-top: 48px;
  padding: 28px;
  background: #f5f6f8;
}

.single-entry__parameters h2 {
  margin-bottom: 24px;
}

.single-entry__parameters dl > div {
  border-color: rgba(2, 28, 76, .12);
}

.not-found {
  min-height: 70vh;
  padding: 100px 0;
  text-align: center;
  background: #f5f6f8;
}

.not-found h1 {
  margin: 18px 0;
}

.not-found .btn {
  margin-top: 28px;
}

@media (prefers-reduced-motion: reduce) {
  .content-card,
  .content-card__media img,
  .content-gallery .scroll-row img,
  .product-gallery__item img,
  .product-gallery__overlay,
  .product-gallery__overlay .theme-icon,
  .product-service-card,
  .product-service-card__media img {
    transition: none;
  }
}

@media (min-width: 992px) {
  .site-footer .menu {
    gap: 5px;
  }

  .site-footer .menu-item > a,
  .site-footer .menu-item.current-menu-item > a {
    font-size: 16px;
    line-height: 28px;
  }

  .media-text {
    padding: 96px 0;
  }

  .media-text__grid {
    min-height: 560px;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 72px;
  }

  .media-text.is-right .media-text__media {
    order: 2;
  }

  .media-text__media,
  .media-text__media img,
  .media-text__media video,
  .media-text__embed,
  .media-text__embed iframe {
    min-height: 560px;
  }

  .media-text__content {
    align-self: center;
  }

  .media-text.is-outside.is-left .media-text__media {
    margin-left: calc((1280px - 100vw) / 2);
  }

  .media-text.is-outside.is-right .media-text__media {
    margin-right: calc((1280px - 100vw) / 2);
  }

  .cta-block,
  .cta-block__inner {
    min-height: 444px;
  }

  .cta-block__inner {
    padding: 72px 0;
  }

  .icon-text-columns {
    padding: 96px 0;
  }

  .icon-text-columns__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .icon-text-columns.columns-2 .icon-text-columns__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .icon-text-columns.columns-4 .icon-text-columns__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .text-block,
  .content-gallery,
  .map-block,
  .logos-block {
    padding: 96px 0;
  }

  .content-gallery .scroll-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .content-gallery .scroll-row figure {
    width: auto;
  }

  .logos-block__grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .content-archive {
    padding: 96px 0 120px;
  }

  .content-grid {
    display: grid;
    margin-right: 0;
    padding-right: 0;
    overflow: visible;
    grid-template-columns: repeat(3, 1fr);
  }

  .content-card {
    width: auto;
  }

  .single-entry__meta dl {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .product-overview,
  .product-gallery,
  .product-recommendations {
    padding-block: 96px;
  }

  .product-overview__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(370px, .8fr);
    align-items: start;
    gap: 88px;
  }

  .product-overview__copy p,
  .product-overview__copy li {
    font-size: 17px;
    line-height: 29px;
  }

  .product-specs {
    padding: 38px 36px;
  }

  .product-specs dl > div {
    grid-template-columns: minmax(130px, .8fr) minmax(0, 1.2fr);
    align-items: baseline;
    padding-block: 16px;
    gap: 22px;
  }

  .product-specs dd {
    text-align: right;
  }

  .product-section-head {
    margin-bottom: 48px;
  }

  .product-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .product-related-services {
    margin-top: 72px;
    padding-top: 56px;
  }

  .product-related-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .single-entry__content {
    padding: 96px 0;
  }

  .single-entry__benefits {
    grid-template-columns: repeat(3, 1fr);
  }

  .location-page .media-text__grid {
    min-height: 520px;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: 88px;
  }

  .location-page .media-text__media,
  .location-page .media-text__media img {
    min-height: 520px;
  }

  .location-page .icon-text-columns .value-card {
    min-height: 315px;
  }

  .location-page .map-block__embed,
  .location-page .map-block__embed iframe {
    min-height: 500px;
  }

  .location-page .contact-cta {
    padding-bottom: 70px;
  }

  .location-page .contact-cta__grid {
    padding-top: 70px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(64px, 7vw, 122px);
  }

  .location-page .contact-cta__features,
  .location-page .contact-cta .contact-form {
    width: 100%;
  }

  .location-page .contact-cta .contact-form {
    min-height: 560px;
  }

  .contact-form .wpcf7-form .contact-form__row > p {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
