/* Shared page gutters, including the homepage and stretched Elementor sections. */
body {
  --edl-content-gutter: clamp(18px, 3vw, 36px);
  --edl-action-bg: #004aad;
  --edl-action-hover: #003b8c;
}

body:not(.home) #masthead {
  margin-block-end: 30px;
}

body:not(.home) #page #content.site-content {
  margin-block-end: 20px;
  margin-block-start: 0;
}

body #page #content > :is(.col-full, .col-fluids) {
  box-sizing: border-box;
  inline-size: 100%;
  margin-inline: auto;
  max-inline-size: 1640px;
  padding-inline: var(--edl-content-gutter);
}

body:not(.home) #content :is(#primary, #secondary) {
  float: none;
  inline-size: 100%;
  margin-inline: auto;
  margin-block-end: 0;
}

body.single-post #content :is(#primary, #secondary) {
  max-inline-size: 1120px;
}

body:not(.home) #content #main > .hentry:last-child {
  margin-block-end: 0;
}

body:not(.home) #content #secondary {
  display: grid;
  gap: 16px 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}

body:not(.home) #content #secondary > .widget {
  margin-block: 0;
  min-inline-size: 0;
}

body:not(.home) #content #secondary > .widget:has(a, input, button, p, li) {
  margin-block-start: 16px;
}

body.single-post #content .post-navigation {
  margin-block-end: 0;
}

body #content .elementor > .elementor-top-section.elementor-section-stretched {
  inline-size: 100% !important;
  inset-inline: auto !important;
  margin-inline: 0 !important;
  padding-inline: 0;
}

body #content .elementor > .elementor-top-section > .elementor-container,
body #content .elementor > .e-con-boxed > .e-con-inner {
  max-inline-size: 100%;
}

body.home #content .elementor-widget-slider_revolution {
  overflow: clip;
}

body.home #content .elementor-widget-slider_revolution sr7-module {
  max-inline-size: 100%;
}

body.home #content .elementor-widget-slider_revolution sr7-content {
  inline-size: 100% !important;
  inset-inline: 0 !important;
}

body:not(.home) #content :is(.edl-aeo-summary, .edl-aeo-index-intro) {
  max-inline-size: none;
}

body #content :is(.post-thumbnail, .wp-block-image, .elementor-widget-image) img {
  display: block;
  max-inline-size: 100%;
}

body.single-post #content .post-thumbnail img,
body.blog #content .post-thumbnail img {
  block-size: auto;
  inline-size: 100%;
}

body.single-post #content .post-thumbnail img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

body #content .wp-block-image {
  margin-block: 12px 18px;
}

body #content .lock-quote-actions + .lock-quote-request-note {
  margin-block: 12px 0;
}

body.single-locks #content #request-quote {
  margin-block-end: 0;
  padding-block-end: 20px;
}

body.single-locks #content .elementor-top-section:has(.elementor-widget-image-carousel, .carousel-img) {
  padding-block: 20px 24px;
}

body.single-locks #content .elementor-inner-section:has(.elementor-widget-image-carousel, .carousel-img) {
  margin-block-start: 0;
}

body.single-locks #content .elementor-inner-section:has(.elementor-widget-image-carousel, .carousel-img) > .elementor-container > .elementor-column > .elementor-widget-wrap {
  align-content: flex-start;
  align-items: flex-start;
}

body.single-locks #content .edl-product-options-title {
  inset-inline: auto !important;
  inline-size: 100% !important;
  margin-block: 22px 10px;
  padding: 0;
}

body.single-locks #content .edl-product-overview-media {
  display: grid;
  gap: 8px;
  justify-items: center;
}

body.single-locks #content .edl-product-overview-photo {
  block-size: clamp(110px, 11vw, 155px);
  inline-size: clamp(110px, 11vw, 165px);
  object-fit: contain;
}

body.single-locks #content .edl-product-options {
  display: grid;
  gap: 10px;
  margin-block-end: 22px;
}

body.single-locks #content .edl-product-option {
  background: #fff;
  border: 1px solid #dce8f5;
  border-radius: 5px;
  min-inline-size: 0;
}

body.single-locks #content .edl-product-option > summary {
  align-items: center;
  color: #000;
  cursor: pointer;
  display: flex;
  font-weight: 650;
  gap: 12px;
  justify-content: space-between;
  list-style: none;
  padding: 12px 15px;
}

body.single-locks #content .edl-product-option > summary::-webkit-details-marker {
  display: none;
}

body.single-locks #content .edl-product-option > summary::after {
  block-size: 9px;
  border: solid #004aad;
  border-width: 0 2px 2px 0;
  content: "";
  flex: 0 0 9px;
  transform: rotate(45deg);
}

body.single-locks #content .edl-product-option[open] > summary,
body.single-locks #content .edl-product-option > summary:hover {
  background: #edf5ff;
}

body.single-locks #content .edl-product-option[open] > summary::after {
  transform: rotate(225deg);
}

body.single-locks #content .edl-product-option > summary:focus-visible {
  outline: 2px solid #004aad;
  outline-offset: -2px;
}

body.single-locks #content .edl-product-option__content > .elementor-top-section {
  inset-inline: auto !important;
  inline-size: 100% !important;
  margin-block: 0;
  padding: 14px clamp(12px, 2vw, 24px);
}

body.single-locks #content .edl-product-option__content .elementor-widget-image-carousel img {
  margin-inline: auto;
}

body #post-624 .elementor-624 > .elementor-element-51d8e10 {
  padding-block-end: 16px;
}

/* Keep the title, inquiry details, and quote form in one contact panel. */
body #content #post-628 {
  background: #f6faff;
  border: 1px solid #dce8f5;
  border-radius: 6px;
  margin-inline: auto;
  max-inline-size: 980px;
  padding: clamp(16px, 2.7vw, 32px);
}

body #post-628 > .entry-header .entry-title {
  margin-block-end: 12px;
}

body #post-628 .elementor-628 > .elementor-element-0cd27d1 {
  background: transparent;
  inline-size: 100% !important;
  left: auto !important;
  margin: 0;
  min-inline-size: 0;
  padding: 0;
}

body #post-628 .elementor-element-dc83786 > .elementor-widget-wrap {
  padding: 0;
}

body #post-628 .elementor-element-d43e5be {
  margin-block-end: 15px;
}

body #post-628 .elementor-element-d43e5be .elementor-icon-list-items {
  display: grid;
  gap: 6px 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body #post-628 .elementor-element-d43e5be .elementor-icon-list-item {
  margin-block: 0;
  padding-block: 0;
}

body #post-628 .lock-quote-form .lock-quote-grid {
  gap: 12px 16px;
}

body #post-628 .lock-quote-form .lock-quote-field label {
  margin-block-end: 5px;
}

body #post-628 .lock-quote-form :is(input:not([type="hidden"], [type="submit"], [type="checkbox"], [type="radio"]), select, textarea) {
  padding: 7px 10px;
}

body #post-628 .lock-quote-form textarea {
  block-size: 100px;
  min-block-size: 90px;
}

body #post-628 .lock-quote-form .lock-quote-details {
  margin-block: 12px;
}

body #post-628 .lock-quote-form .lock-quote-actions {
  margin-block-start: 12px;
}

/* Links use tone or button fills for hover feedback. */
body.elementor-kit-6388 a:hover,
body.elementor-kit-6388 #page a:hover,
body.elementor-kit-6388 a:hover :is(span, strong, em) {
  text-decoration: none !important;
}

body #page #colophon .widget_nav_menu a:hover {
  color: #004aad;
}

/* Links in copy use the brand color without adding button padding or a fill. */
body #page :is(#content, #colophon p) a:not(.button, .elementor-button, .wp-block-button__link, .page-numbers, .post-page-numbers, sr7-module a) {
  color: var(--edl-action-bg);
  text-decoration: none !important;
}

body #masthead .main-navigation ul.menu > li.menu-item:is(:hover, .current-menu-item, .current-menu-parent) > a {
  background-color: rgb(255 255 255 / 14%);
  border-block-end-color: transparent;
}

/* Dedicated button links share one compact style. */
body #page :is(#content, #colophon) a:is(.button, .elementor-button, .wp-block-button__link) {
  align-items: center;
  background: var(--edl-action-bg);
  border: 0;
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  font-size: 14px !important;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25;
  max-inline-size: 100%;
  min-block-size: 34px;
  overflow-wrap: anywhere;
  padding: 6px 11px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: normal;
}

body #page #content .elementor-button :is(.elementor-button-content-wrapper, .elementor-button-text) {
  min-inline-size: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

body #page :is(.site-search .search-submit, .lock-quote-actions .wpcf7-submit, .edl-newsletter-field .wpcf7-submit) {
  text-transform: uppercase;
}

body #page :is(#content, #colophon) a:is(:hover, :focus-visible) {
  --edl-action-bg: var(--edl-action-hover);
}

/* Page numbers are flat. The current page uses a small square. */
body #page #content :is(.pagination, .woocommerce-pagination) ul.page-numbers {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

body #page #content :is(nav.pagination, .woocommerce-pagination, .page-links) :is(a.page-numbers, span.page-numbers, a.post-page-numbers, span.post-page-numbers) {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 3px;
  box-shadow: none;
  color: #000;
  display: inline-flex;
  font-weight: 600;
  inline-size: 34px;
  justify-content: center;
  min-block-size: 34px;
  padding: 0;
  text-decoration: none;
}

body #page #content :is(nav.pagination, .woocommerce-pagination, .page-links) :is(a.page-numbers, a.post-page-numbers):is(:hover, :focus-visible) {
  background: #edf5ff;
  color: var(--edl-action-bg);
}

body #page #content :is(nav.pagination, .woocommerce-pagination, .page-links) :is(.page-numbers, .post-page-numbers).current {
  background: var(--edl-action-bg);
  color: #fff;
}

body #page #content :is(nav.pagination, .woocommerce-pagination) a.page-numbers:is(.prev, .next) {
  font-size: 0 !important;
}

body #page #content :is(nav.pagination, .woocommerce-pagination) a.page-numbers:is(.prev, .next)::before {
  display: block;
  font-size: 16px;
  line-height: 1;
  margin: 0;
  position: static;
}

body #content :is(sr7-bullet, .sr7-bullet, .swiper-pagination-bullet),
body #content :is(sr7-bullet, .sr7-bullet, .swiper-pagination-bullet)::after {
  border-radius: 2px !important;
}

/* Home 13's four-column structure, newsletter row, and copyright strip. */
body #colophon.site-footer {
  background: #fff;
  border-block-start: 1px solid #dce8f5;
  color: #000;
  font-size: var(--edl-body-size, 18px);
  line-height: 1.35;
  padding-block-start: 0;
  text-align: center;
}

body #colophon .footer-widgets.col-4 {
  display: grid;
  gap: 24px 32px;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr) minmax(0, 0.91fr) minmax(0, 1.09fr);
  padding-block: 30px 24px;
}

body #colophon .footer-widgets.col-4::before,
body #colophon .footer-widgets.col-4::after {
  content: none;
}

body #colophon .footer-widgets.col-4 > .block {
  margin: 0;
  min-inline-size: 0;
  width: auto;
}

body #colophon .footer-widgets.col-4 > .block > .widget {
  margin-block-end: 0;
}

body #page #colophon .widget-title {
  color: #000;
  font-size: 14px !important;
  line-height: 1.25 !important;
  margin-block: 0 16px;
  text-transform: uppercase;
}

body #colophon .edl-footer-brand__home {
  display: inline-block;
  max-inline-size: 100%;
}

body #colophon .edl-footer-brand img {
  block-size: auto;
  display: block;
  inline-size: 240px;
  max-inline-size: 100%;
}

body #colophon .edl-footer-brand p {
  margin-block: 12px 0;
  margin-inline: auto;
  max-inline-size: 38ch;
}

body #colophon :is(p, .widget_nav_menu li, .widget_nav_menu a, .edl-home13-contact__line) {
  color: #000;
  font-size: var(--edl-body-size, 18px);
}

body #colophon .widget_nav_menu li {
  line-height: 1.35;
  margin-block-end: 8px;
}

body #colophon .edl-home13-contact {
  container-type: inline-size;
  display: grid;
  gap: 12px;
  justify-items: center;
}

body #colophon .edl-home13-contact a {
  color: var(--edl-action-bg);
  text-decoration: none;
  white-space: nowrap;
}

body #colophon .edl-home13-contact__line {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
}

body #colophon .edl-home13-contact__line i {
  color: #363636;
  flex: 0 0 30px;
  font-size: 30px;
  text-align: center;
}

body #colophon .edl-home13-contact__location {
  display: grid;
  gap: 4px;
  justify-items: center;
}

body #colophon .edl-home13-contact__address {
  font-size: 16px;
  font-size: clamp(14px, 5.3cqi, 18px);
  font-style: normal;
  margin: 0;
  white-space: nowrap;
}

body #colophon .edl-footer-newsletter {
  border-block-start: 1px solid #dce8f5;
  margin-inline: auto;
  max-inline-size: 1290px;
  padding: 19px clamp(16px, 2.5vw, 28px) 20px;
}

body #colophon .edl-footer-newsletter__inner {
  align-items: center;
  display: grid;
  gap: 14px 20px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 2fr);
  margin-inline: auto;
  max-inline-size: 1110px;
}

body #page #colophon .edl-footer-newsletter__heading {
  align-items: center;
  border-inline-end: 1px solid #dce8f5;
  color: #000;
  display: flex;
  font-size: 16px !important;
  gap: 14px;
  justify-content: center;
  line-height: 1.35 !important;
  margin: 0;
  padding-inline-end: 14px;
  text-transform: uppercase;
}

body #colophon .edl-footer-newsletter__heading i {
  color: #004aad;
  flex: 0 0 auto;
  font-size: 36px;
}

body #colophon .edl-footer-newsletter__intro {
  margin: 0;
}

body #colophon .edl-newsletter-field {
  align-items: start;
  background: #fff;
  border: 2px solid #dce8f5;
  border-radius: 4px;
  display: grid;
  gap: 3px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 3px;
  position: relative;
}

body #colophon .edl-newsletter-field p,
body #colophon .edl-newsletter-challenge p {
  margin: 0;
}

body #colophon .edl-newsletter-field br {
  display: none;
}

body #colophon .edl-newsletter-field .wpcf7-form-control-wrap {
  display: block;
  min-inline-size: 0;
}

body #colophon .edl-newsletter-field input[type="email"] {
  background: #fff;
  border: 0;
  color: #000;
  font-size: var(--edl-body-size, 18px);
  inline-size: 100%;
  min-block-size: 44px;
  padding: 7px 9px;
}

body #colophon .edl-newsletter-field input[type="email"]::placeholder {
  color: #000;
  opacity: 1;
}

body #colophon .edl-newsletter-field .wpcf7-submit {
  background: #004aad;
  border: 0;
  border-radius: 3px;
  color: #fff;
  font-size: 16px;
  margin: 0;
  min-block-size: 44px;
  padding: 8px 14px;
}

body #colophon .edl-newsletter-field .wpcf7-submit:hover {
  background: #2562b4;
}

body #colophon .edl-newsletter-field .wpcf7-spinner {
  inset-block-start: 14px;
  inset-inline-end: 100px;
  margin: 0;
  pointer-events: none;
  position: absolute;
}

body #colophon .edl-footer-newsletter .wpcf7-response-output {
  margin: 8px 0 0;
}

body #colophon .edl-footer-newsletter .cf7-cf-turnstile {
  margin: 6px 0 0 !important;
  max-inline-size: 100%;
}

body #colophon .copyright-bar {
  background: #252525;
  color: #fff;
  padding: 18px 16px;
  text-align: center;
}

body #colophon .copyright-bar .site-info {
  color: #fff;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  body #colophon .footer-widgets.col-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body #colophon .edl-footer-newsletter__inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  body #colophon .edl-footer-newsletter__form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 599px) {
  body #colophon .footer-widgets.col-4,
  body #colophon .edl-footer-newsletter__inner,
  body #post-628 .elementor-element-d43e5be .elementor-icon-list-items {
    grid-template-columns: minmax(0, 1fr);
  }

  body #colophon .edl-footer-newsletter__heading {
    border-inline-end: 0;
    padding-inline-end: 0;
  }

  body #content .lock-quote-actions {
    position: relative;
  }

  body #content .lock-quote-actions .wpcf7-spinner {
    inset-block-end: 12px;
    inset-inline-end: 12px;
    margin: 0;
    pointer-events: none;
    position: absolute;
  }
}

@media (max-width: 359px) {
  body #colophon .edl-footer-newsletter .cf7-cf-turnstile {
    transform: scale(0.9);
    transform-origin: top left;
  }
}
