/* ely-site.css — collapse boxes left by images the capture never got, plus the
   few containers the JSON-rendered blocks need.  Nothing here restyles the theme. */
.elementor-widget-image .elementor-widget-container:not(:has(img)),
.jet-woo-product-thumbnail:not(:has(img)),
.image-wrap:not(:has(img)),
.jet-images-layout__image:not(:has(img)),
.swiper-slide-inner:not(:has(img)) { display: none; }
.elementor-widget-image:not(:has(img)) { margin: 0; padding: 0; min-height: 0; }

.ely-article > .elementor-section:first-child { margin-top: 0; }
.ely-references { margin: 2em auto; max-width: 1140px; padding: 0 15px; font-size: 14px; opacity: .85; }
.ely-references h4 { font-size: 15px; margin: 0 0 .5em; }
.ely-references ol { margin: 0; padding-left: 1.4em; }

.ely-contact-line { margin: 0 0 .35em; }
.ely-contact-line a { color: inherit; text-decoration: none; }
.ely-contact-line a:hover { text-decoration: underline; }

.ely-branch-list > * { margin-bottom: 0; }
.ely-branch-kind { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; margin: 0 0 .35em; }

.ely-facts { list-style: none; margin: 0; padding: 0; }
.ely-facts li { display: flex; gap: 1em; padding: .45em 0; border-bottom: 1px solid rgba(128,128,128,.25); }
.ely-facts__k { flex: 0 0 11em; font-weight: 600; }
.ely-facts__v { flex: 1 1 auto; }
.ely-facts__v a { color: inherit; }

.ely-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.ely-card { display: flex; flex-direction: column; gap: .3em; padding: 18px; border: 1px solid rgba(128,128,128,.3);
  border-radius: 4px; color: inherit; text-decoration: none; }
a.ely-card:hover { border-color: currentColor; }
.ely-card__logo { max-width: 120px; height: auto; margin-bottom: .5em; }
.ely-card__name { font-weight: 700; }
.ely-card__meta { font-size: 13px; opacity: .75; }
.ely-card__link { font-size: 13px; color: inherit; }
.ely-hero-img { max-width: 100%; height: auto; }
.ely-socmed-icon { width: 20px; height: 20px; }

@media (max-width: 767px) {
  .ely-facts li { flex-direction: column; gap: .1em; }
  .ely-facts__k { flex: none; }
}
