/* Cox Roofing Systems static preview: overrides that replace the WordPress/Avada JS behaviours.
   Brand: gold #9a824b, Lato/Roboto with Arial fallbacks. */

:root { --cr-gold: #9a824b; --cr-gold-dark: #7d6a3c; --cr-ink: #333; }

/* Avada normally reveals these with JS */
.fusion-animated { visibility: visible !important; opacity: 1 !important; }
.lazyload, .lazyloading { opacity: 1 !important; }
body { overflow-x: hidden; }

/* Font stack fallback (webfont files were not part of the capture, see NOTES.md) */
body, .fusion-body, .fusion-main-menu a, .fusion-footer-widget-area, input, textarea, button {
  font-family: Lato, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- mobile menu ---------- */
.fusion-mobile-nav-holder { display: none; }
.cr-menu-open .fusion-mobile-nav-holder { display: block; }
.cr-menu-open .fusion-mobile-nav-holder > ul { display: block; }
.fusion-mobile-nav-holder .fusion-mobile-nav-item { position: relative; }
.fusion-mobile-nav-holder .fusion-mobile-nav-item > ul.sub-menu { display: none; }
.fusion-mobile-nav-holder .fusion-mobile-nav-item.cr-open > ul.sub-menu { display: block; }
.fusion-mobile-nav-holder .fusion-open-submenu {
  position: absolute; right: 0; top: 0; width: 44px; height: 44px; cursor: pointer; text-align: center;
}
.fusion-mobile-nav-holder .fusion-open-submenu::after {
  content: "+"; font-size: 22px; line-height: 44px; color: var(--cr-ink);
}
.fusion-mobile-nav-holder .cr-open > .fusion-open-submenu::after { content: "\2212"; }
.fusion-mobile-menu-icons .fusion-icon-bars { cursor: pointer; }

/* ---------- desktop dropdowns without Avada JS ---------- */
@media (min-width: 801px) {
  .fusion-main-menu .fusion-dropdown-menu { position: relative; }
  .fusion-main-menu .fusion-dropdown-menu > .sub-menu { display: none; position: absolute; z-index: 1000; }
  .fusion-main-menu .fusion-dropdown-menu:hover > .sub-menu,
  .fusion-main-menu .fusion-dropdown-menu:focus-within > .sub-menu { display: block; opacity: 1; visibility: visible; }
}

/* ---------- hero carousel ---------- */
.cr-hero {
  position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: 600px; overflow: hidden;
  background: #444; color: #fff; font-family: Lato, Arial, sans-serif;
}
.cr-hero-slide {
  display: none; position: absolute; inset: 0; background-size: cover; background-position: center;
  align-items: center;
}
.cr-hero-slide.is-active { display: flex; }
.cr-hero-slide::before { content: ""; position: absolute; inset: 0; background: rgba(40, 32, 24, .42); }
.cr-hero-inner { position: relative; z-index: 2; max-width: 1100px; width: 100%; margin: 0 auto; padding: 0 70px; box-sizing: border-box; }
.cr-hero-eyebrow {
  display: inline-block; background: rgba(154, 130, 75, .72); padding: 10px; font-size: 30px; line-height: 1.2; font-weight: 700; color: #fff;
}
.cr-hero-title {
  margin: 18px 0 12px; font-size: 49px; line-height: 1.2; font-weight: 700; color: #fff; text-shadow: 0 1px 3px #000;
}
.cr-hero-text { margin: 0 0 22px; font-size: 25px; line-height: 1.5; color: #fff; max-width: 760px; }
.cr-hero-btn {
  display: inline-block; background: var(--cr-gold); color: #fff; padding: 15px 30px; font-size: 18px; font-weight: 700; text-decoration: none;
}
.cr-hero-btn:hover, .cr-hero-btn:focus { background: #fff; color: #333; }
.cr-hero-prev, .cr-hero-next {
  position: absolute; top: 50%; z-index: 3; width: 44px; height: 60px; margin-top: -30px; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .35); color: #fff; font-size: 30px; display: none;
}
.cr-hero.is-ready .cr-hero-prev, .cr-hero.is-ready .cr-hero-next { display: block; }
.cr-hero-prev { left: 0; } .cr-hero-next { right: 0; }
.cr-hero-dots { position: absolute; bottom: 16px; left: 0; right: 0; z-index: 3; text-align: center; }
.cr-hero-dots button {
  width: 12px; height: 12px; margin: 0 5px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer;
}
.cr-hero-dots button[aria-current="true"] { background: #fff; }
@media (max-width: 800px) {
  .cr-hero { height: 480px; }
  .cr-hero-inner { padding: 0 56px 30px; }
  .cr-hero-eyebrow { font-size: 18px; }
  .cr-hero-title { font-size: 28px; }
  .cr-hero-text { font-size: 16px; }
  .cr-hero-btn { font-size: 15px; padding: 12px 22px; }
}

.cr-hero-slide:first-of-type, .cr-hero-slide:first-of-type * { animation: none !important; transition: none !important; opacity: 1 !important; visibility: visible !important; }
.cr-hero-slide:first-of-type .cr-hero-title, .cr-hero-slide:first-of-type .cr-hero-text { color: #fff !important; }

/* ---------- testimonials ---------- */
.strong-view .t-slide { display: block; margin-bottom: 30px; }
.strong-view.cr-rotator .t-slide { display: none; margin-bottom: 0; }
.strong-view.cr-rotator .t-slide.cr-active { display: block; flex: 1 1 0; min-width: 0; }
.strong-view.cr-rotator .strong-content { display: flex; gap: 40px; align-items: flex-start; }
.strong-view.cr-rotator { overflow: visible; }
.strong-view .testimonial-name { font-weight: 700; }
.cr-testi-nav { text-align: center; margin-top: 20px; }
.cr-testi-nav button {
  width: 12px; height: 12px; margin: 0 5px; padding: 0; border-radius: 50%; border: 2px solid var(--cr-gold); background: transparent; cursor: pointer;
}
.cr-testi-nav button[aria-current="true"] { background: var(--cr-gold); }

/* ---------- tabs / accordion ---------- */
.tab-content > .tab-pane { display: none; }
.tab-content > .tab-pane.active { display: block; opacity: 1; }
.panel-collapse.collapse { display: none; }
.panel-collapse.collapse.in { display: block; height: auto; }

/* ---------- fusion carousels: one horizontal row (home services row, Related Posts, logos) ---------- */
.fusion-carousel { --cr-n: 4; --cr-gap: 13px; }
.fusion-carousel[data-columns="1"] { --cr-n: 1; } .fusion-carousel[data-columns="2"] { --cr-n: 2; }
.fusion-carousel[data-columns="3"] { --cr-n: 3; } .fusion-carousel[data-columns="4"] { --cr-n: 4; }
.fusion-carousel[data-columns="5"] { --cr-n: 5; } .fusion-carousel[data-columns="6"] { --cr-n: 6; }
.fusion-carousel .fusion-carousel-positioner { position: relative; }
.fusion-carousel ul.fusion-carousel-holder {
  display: flex !important; flex-wrap: nowrap; gap: var(--cr-gap); list-style: none; margin: 0 !important; padding: 0 !important;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; height: auto !important; width: auto !important;
}
.fusion-carousel ul.fusion-carousel-holder::-webkit-scrollbar { display: none; }
.fusion-carousel li.fusion-carousel-item {
  display: block !important; float: none !important; flex: 0 0 calc((100% - (var(--cr-n) - 1) * var(--cr-gap)) / var(--cr-n));
  width: auto !important; margin: 0 !important; padding: 0 !important; box-sizing: border-box; scroll-snap-align: start; visibility: visible !important; opacity: 1 !important; min-width: 0;
}
.fusion-carousel .fusion-carousel-item-wrapper { visibility: visible !important; display: block; width: 100%; opacity: 1 !important; }
.fusion-carousel .fusion-carousel-item .fusion-image-wrapper { display: block; max-width: 100%; }
.fusion-carousel .fusion-carousel-item img,
.fusion-image-carousel-fixed .fusion-carousel .fusion-image-wrapper img { width: 100% !important; height: auto !important; max-height: none !important; position: static !important; transform: none !important; }
.fusion-image-carousel-fixed .fusion-carousel .fusion-carousel-wrapper, .fusion-image-carousel-fixed .fusion-carousel .fusion-carousel-holder { height: auto !important; line-height: normal !important; }
.fusion-carousel .fusion-carousel-nav { visibility: visible !important; }
.fusion-carousel .fusion-carousel-nav .fusion-nav-prev, .fusion-carousel .fusion-carousel-nav .fusion-nav-next {
  display: block; position: absolute; top: 40%; z-index: 5; width: 36px; height: 36px; margin-top: -18px; cursor: pointer; opacity: .85; background: rgba(0, 0, 0, .55); text-align: center;
}
.fusion-carousel .fusion-carousel-nav .fusion-nav-prev { left: 0; } .fusion-carousel .fusion-carousel-nav .fusion-nav-next { right: 0; }
.fusion-carousel .fusion-carousel-nav .fusion-nav-prev::before, .fusion-carousel .fusion-carousel-nav .fusion-nav-next::before {
  font-family: Arial, sans-serif; font-size: 24px; line-height: 34px; color: #fff; display: block;
}
.fusion-carousel .fusion-carousel-nav .fusion-nav-prev::before { content: "\2039"; }
.fusion-carousel .fusion-carousel-nav .fusion-nav-next::before { content: "\203A"; }
.fusion-carousel .fusion-carousel-nav span:hover { opacity: 1; background: var(--cr-gold); }
.fusion-carousel .fusion-carousel-title { white-space: normal; }
@media (max-width: 800px) { .fusion-carousel[data-columns] { --cr-n: 2; } }
@media (max-width: 480px) {
  .fusion-carousel[data-columns] { --cr-n: 2; }
  .fusion-carousel[data-columns="1"] { --cr-n: 1; }
}

/* ---------- gallery: Avada masonry (isotope-sized tiles, packed by site.js) ----------
   Live capture (/gallery/): fusion-gallery-layout-masonry fusion-grid-3, 42 items,
   container margin:-5px, item padding:5px (10px gutter).
   Tile widths from Avada media CSS (content-width "c" steps of 72px):
     >=857px: 3 cols, grid/portrait 1/3, landscape and landscape+portrait 2/3
     713–856px: 2 cols, grid/portrait 50%, landscape 100%
     <=712px: 1 col, all 100% (375px mobile)
   Aspect boxes are the inline padding-top on .fusion-masonry-element-container
   (grid: (100%+10px)*0.8-5px; portrait: *1.6; landscape: *0.4-5px; l+p: *0.8).
   Do not zero padding-top or force a uniform aspect-ratio. */
.fusion-gallery.fusion-gallery-container.fusion-gallery-layout-masonry {
  display: block !important;
  position: relative !important;
  margin: -5px;
  width: auto;
}
.fusion-gallery.fusion-gallery-container.fusion-gallery-layout-masonry.cr-masonry-ready {
  /* height is set by site.js with !important so packed tiles are in flow */
}
.fusion-gallery .fusion-grid-sizer { display: none !important; }
.fusion-gallery.fusion-gallery-layout-masonry .fusion-gallery-column {
  display: block !important;
  float: none !important;
  box-sizing: border-box;
  opacity: 1 !important;
  transform: none !important;
  /* JS sets position:absolute; left; top. Widths follow live Avada breakpoints. */
  width: calc(100% / 3);
}
.fusion-gallery.fusion-gallery-layout-masonry.fusion-grid-3 .fusion-element-landscape {
  width: calc(100% / 3 * 2);
}
.fusion-gallery.fusion-gallery-layout-masonry.fusion-grid-2 .fusion-gallery-column { width: 50%; }
.fusion-gallery.fusion-gallery-layout-masonry.fusion-grid-2 .fusion-element-landscape { width: 100%; }
.fusion-gallery.fusion-gallery-layout-masonry.fusion-grid-4 .fusion-gallery-column { width: 25%; }
.fusion-gallery.fusion-gallery-layout-masonry.fusion-grid-4 .fusion-element-landscape { width: 50%; }
.fusion-gallery .fusion-gallery-image { display: block; height: auto !important; opacity: 1 !important; overflow: hidden; }
.fusion-gallery a.fusion-lightbox { display: block; cursor: zoom-in; }
.fusion-gallery .fusion-masonry-element-container {
  display: block !important;
  position: relative;
  width: 100%;
  height: 0 !important;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1 !important;
}
.fusion-gallery .fusion-masonry-element-container img {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1 !important;
}
@media only screen and (max-width: 856px) and (min-width: 713px) {
  .fusion-gallery.fusion-gallery-layout-masonry.fusion-grid-3 .fusion-gallery-column { width: 50% !important; }
  .fusion-gallery.fusion-gallery-layout-masonry.fusion-grid-3 .fusion-element-landscape { width: 100% !important; }
}
@media only screen and (max-width: 712px) {
  .fusion-gallery.fusion-gallery-layout-masonry.fusion-grid-3 .fusion-gallery-column,
  .fusion-gallery.fusion-gallery-layout-masonry.fusion-grid-3 .fusion-element-landscape { width: 100% !important; }
}

.fusion-posts-container.fusion-blog-layout-grid, .fusion-masonry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; height: auto !important; }
.fusion-blog-layout-grid .fusion-grid-sizer, .fusion-masonry .fusion-grid-sizer { display: none !important; }
.fusion-blog-layout-grid > article, .fusion-blog-layout-grid .fusion-post-grid { position: static !important; float: none !important; width: auto !important; height: auto !important; opacity: 1 !important; transform: none !important; }
.fusion-portfolio-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; height: auto !important; }
.fusion-portfolio-wrapper .fusion-portfolio-post { position: static !important; float: none !important; width: auto !important; height: auto !important; opacity: 1 !important; transform: none !important; }
.fusion-portfolio-content-wrapper, .fusion-portfolio-post .fusion-image-wrapper { opacity: 1 !important; }
.fusion-portfolio-wrapper img { max-width: 100%; height: auto; }
@media (max-width: 800px) { .fusion-posts-container.fusion-blog-layout-grid, .fusion-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fusion-portfolio-wrapper { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .fusion-posts-container.fusion-blog-layout-grid, .fusion-masonry { grid-template-columns: minmax(0, 1fr); } }

/* ---------- other "hidden until JS" Avada states ---------- */
.fusion-animated, [data-animationtype], [data-animationType] { visibility: visible !important; opacity: 1 !important; animation: none !important; }
.fusion-flexslider .slides > li:first-child { display: block !important; opacity: 1 !important; }
.fusion-flexslider-loading { opacity: 1 !important; visibility: visible !important; }
.fusion-flexslider .flex-direction-nav { display: none; }
.fusion-title .fusion-animated-texts { visibility: visible; }
.fusion-title .fusion-animated-text:first-child { opacity: 1; position: static; }
.fusion-image-wrapper img, .fusion-imageframe img { opacity: 1; }

/* ---------- lightbox ---------- */
.cr-lightbox {
  position: fixed; inset: 0; z-index: 100000; background: rgba(0, 0, 0, .88); display: flex; align-items: center; justify-content: center; cursor: zoom-out;
}
.cr-lightbox img { max-width: 94vw; max-height: 92vh; box-shadow: 0 0 20px #000; }
.cr-lightbox-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; }

/* ---------- back to top ---------- */
.to-top-container { display: none; }
.to-top-container.cr-visible { display: block; }

/* ---------- Instagram static block ---------- */
.textwidget a[href*="instagram.com"] img { max-width: 100%; height: auto; }

/* ---------- contact form (preview, unwired) ---------- */
.cr-form-wrap { max-width: 720px; margin: 20px auto; text-align: left; }
.cr-form { background: #f6f4ee; border: 1px solid #e3dccb; border-top: 4px solid var(--cr-gold); padding: 22px; font-family: Lato, Roboto, Arial, sans-serif; color: var(--cr-ink); }
.cr-form-banner { margin: 0 0 16px; padding: 10px 12px; background: #fff3cd; border: 1px solid #e0c768; color: #5b4700; font-size: 14px; line-height: 1.4; }
.cr-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cr-form-banner[hidden] { display: none; }
.cr-form-row { margin-bottom: 14px; }
.cr-form-row label { display: block; margin-bottom: 4px; font-weight: 700; font-size: 14px; }
.cr-form-row input, .cr-form-row textarea {
  width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #c9c4b6; border-radius: 0; background: #fff; font-size: 16px; font-family: inherit; color: var(--cr-ink);
}
.cr-form-row input:focus, .cr-form-row textarea:focus { outline: 2px solid var(--cr-gold); outline-offset: 0; border-color: var(--cr-gold); }
.cr-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.cr-form-submit {
  background: var(--cr-gold); color: #fff; border: 0; padding: 14px 34px; font-size: 16px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; cursor: pointer;
}
.cr-form-submit:hover, .cr-form-submit:focus { background: var(--cr-gold-dark); }
.cr-form-status { font-size: 14px; font-weight: 700; color: #5b4700; }
.cr-contact-btn {
  display: inline-block; background: var(--cr-gold); color: #fff; padding: 12px 26px; font-weight: 700; text-decoration: none;
}
.cr-contact-btn:hover, .cr-contact-btn:focus { background: var(--cr-gold-dark); color: #fff; }
/* city landers placed the old Unbounce embed in a column with a -60px overlap: keep the native form clear of the hero */
.fusion-layout-column:has(> .fusion-column-wrapper > .cr-form-wrap) { margin-top: 0 !important; }
.cr-404 { text-align: center; padding: 80px 20px; }
.cr-404 h1 { font-size: 64px; margin: 0 0 10px; color: var(--cr-gold); }

/* ---------- task 6 parity fixes (appended last; higher specificity + !important on purpose) ---------- */
/* isotope sizers never render (the gallery sizer also has .fusion-gallery-column, whose display:block !important used to win) */
.fusion-gallery.fusion-gallery-container > .fusion-grid-sizer.fusion-gallery-column, .fusion-grid-sizer, .strong-masonry .grid-sizer, .strong-masonry .gutter-sizer { display: none !important; }

/* testimonials rotator: Strong Testimonials hides every :not(:first-child) slide with a 4-class selector */
.strong-view.wpmtst-default.slider-container.cr-rotator .strong-content { display: flex !important; flex-wrap: nowrap; gap: 30px; align-items: stretch; height: auto !important; }
.strong-view.wpmtst-default.slider-container.cr-rotator .strong-content > .wpmtst-testimonial.t-slide { display: none !important; }
.strong-view.wpmtst-default.slider-container.cr-rotator .strong-content > .wpmtst-testimonial.t-slide.cr-active {
  display: block !important; flex: 1 1 0; min-width: 0; width: auto; margin: 0; box-sizing: border-box; float: none; position: static;
}

/* testimonials list (masonry, columns-2): CSS columns instead of Masonry JS */
.strong-view .strong-content.strong-masonry { display: block !important; column-count: 1; column-gap: 30px; height: auto !important; }
@media (min-width: 800px) { .strong-view .strong-content.strong-masonry.columns-2 { column-count: 2; } }
.strong-view .strong-content.strong-masonry > .wpmtst-testimonial {
  display: block; width: 100% !important; margin: 0 0 30px !important; position: static !important; float: none !important;
  break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; box-sizing: border-box;
}

/* Avada page-title sliders (.fusion-slider): static first slide, image + caption, no spinner */
.fusion-slider-loading { display: none !important; }
.fusion-slider-container { overflow: hidden; position: relative; }
.fusion-slider-container .tfs-slider, .fusion-slider-container .flexslider { visibility: visible !important; opacity: 1 !important; height: 100%; margin: 0; border: 0; background: none; }
.fusion-slider-container .tfs-slider > ul.slides { margin: 0; padding: 0; list-style: none; height: 100%; }
.fusion-slider-container .tfs-slider > ul.slides > li { display: none; position: relative; height: 100%; margin: 0; list-style: none; }
.fusion-slider-container .tfs-slider > ul.slides > li:first-child { display: block !important; opacity: 1 !important; visibility: visible !important; }
.fusion-slider-container .slides > li .background { position: absolute; inset: 0; width: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; z-index: 1; }
.fusion-slider-container .slides > li .slide-content-container {
  display: flex !important; align-items: center; position: absolute; inset: 0; z-index: 3; box-sizing: border-box;
  padding: 0 max(30px, calc((100% - 1100px) / 2)); text-align: left; pointer-events: none;
  transform: none !important;
}
.fusion-slider-container .slides > li .slide-content-container.slide-content-center { justify-content: center; text-align: center; }
.fusion-slider-container .slides > li .slide-content-container.slide-content-right { justify-content: flex-end; text-align: right; }
.fusion-slider-container .slides > li .slide-content-container .slide-content { max-width: 100%; }
.fusion-slider-container .slides > li .slide-content-container a, .fusion-slider-container .slides > li .slide-content-container .buttons { pointer-events: auto; }
.fusion-slider-container .slides > li .slide-content .heading .title-heading-left, .fusion-slider-container .slides > li .slide-content .heading h2 { color: #fff; }
.fusion-slider-container .flex-direction-nav, .fusion-slider-container .flex-control-nav { display: none !important; }
@media (max-width: 800px) { .fusion-slider-container .slides > li .slide-content .heading h2 { font-size: 32px !important; line-height: 1.3 !important; } }

/* hero heading (Smart Slider n2-font-dc632...: Lato 700, white, 0 1px 3px #000 shadow); Avada's global h1 rules were beating .cr-hero-title */
.cr-hero .cr-hero-slide .cr-hero-inner .cr-hero-title {
  font-family: Lato, Roboto, "Helvetica Neue", Arial, sans-serif !important; font-weight: 700 !important; font-size: 49px !important; line-height: 1.2 !important;
  color: #fff !important; text-shadow: 0 1px 3px #000 !important; letter-spacing: normal; text-transform: none; font-style: normal;
}
@media (max-width: 800px) { .cr-hero .cr-hero-slide .cr-hero-inner .cr-hero-title { font-size: 28px !important; } }

/* ---------- visual QA follow-up (Studio HOLD, 2026-12-01) ---------- */

/* Avada responsive typography calc uses --fontSize, set by JS; markup only has --fontsize.
   Without the alias, the calc is invalid below 800px and headings fall back to body size. */
.fusion-responsive-typography-calculated {
  --fontSize: var(--fontsize);
  font-size: calc(var(--fontsize) * 1px) !important;
}

/* Contact @375: the people column has margin-bottom:-55px, which pulls the stacked form over "General Manager". */
@media (max-width: 800px) {
  .fusion-layout-column[style*="margin-bottom:-"] {
    margin-bottom: 20px !important;
  }
}

/* Energy comparison tables: WP Table Builder adaptive mode wraps one letter per line at 375.
   Keep the table readable with a horizontal scroll instead. */
@media (max-width: 800px) {
  .wptb-table-container {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .wptb-table-container table.wptb-preview-table {
    width: max-content !important;
    min-width: 640px;
    max-width: none !important;
    table-layout: auto !important;
  }
  .wptb-table-container .wptb-cell,
  .wptb-table-container .wptb-cell p {
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: nowrap;
  }
  .wptb-column-title-mobile-container { display: none !important; }
}

/* Roofing Blog + other Avada fusion sliders: reveal captions without Avada JS.
   Do not force height:auto or hide .background — photo banners use inline
   height (250px / 500px) and a .background image. Rules under
   "Avada page-title sliders" already show the first slide, cover the image,
   and overlay the caption. */
.fusion-slider-loading { display: none !important; }

.tfs-slider .slide-content,
.fusion-slider-container .slide-content {
  opacity: 1 !important;
  visibility: visible !important;
}

.tfs-slider .fusion-title.fusion-title-center,
.fusion-slider-container .fusion-title.fusion-title-center {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 40px;
}

/* Counters visible on desktop; match live by hiding .circle-stuff at <=480px. */
.fusion-layout-column.circle-stuff {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
}
@media (max-width: 480px) {
  .fusion-layout-column.circle-stuff,
  .cr-counter-circle {
    display: none !important;
  }
}

/* fusion_counter_circle stand-in (no Avada JS) */
.cr-counter-circle {
  position: relative;
  margin: 0 auto 16px;
}
.cr-counter-circle svg { display: block; }
.cr-counter-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 12px; box-sizing: border-box;
  font-family: Lato, Roboto, Arial, sans-serif; color: #333;
}
.cr-counter-value { font-size: 28px; font-weight: 700; line-height: 1.1; }
.cr-counter-label { font-size: 12px; font-weight: 700; line-height: 1.2; margin-top: 4px; }

/* home-page fusion-testimonials: each column has one card, hidden with display:none until Avada JS. */
.fusion-testimonials .reviews .review {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
