/* Public-site repairs. Desktop geometry and content remain as in the existing theme. */
#preloader { display: none !important; }
img.tc-intrinsic { height: auto; }
.eco_logo img.tc-intrinsic, #logo_menu.tc-intrinsic { width: auto; }
.tp-caption.tc-home-title { margin: 0; font-weight: 400; line-height: inherit; }
.eco_main_heading h2.tc-heading-as-h1 { font-size: 36px; font-weight: 500; line-height: 1.1; margin-top: 20px; margin-bottom: 10px; }
.eco_main_heading h1.tc-heading-as-h3 { font-size: 24px; font-weight: 500; line-height: 1.1; margin-top: 20px; margin-bottom: 10px; }
.eco_page_title h1.tc-heading-as-h4 { font-size: 18px; font-weight: 500; line-height: 1.1; margin: 0; color: inherit; }
.tc-submenu-toggle { display: none; }
.navbar-nav > li:focus-within > ul.sub-menu, .menu > li:focus-within > ul.sub-menu { display: block; }
:where(a,button,input,textarea):focus-visible { outline: 3px solid #777; outline-offset: 4px; }
.tc-contact-feedback { margin-top: 18px; padding: 12px 16px; border: 1px solid #8a1f1f; background: #fff3f3; color: #6f1515; text-align: left; }
.tc-contact-feedback:empty { display: none; }
.tc-contact-feedback[data-success=true] { border-color: #286c42; background: #f0faf3; color: #1c5631; }
#em_submit:disabled { opacity: .65; cursor: wait; }
#tc-contact-form .form-control { font-size: 16px; }
#tc-contact-form textarea { min-height: 160px; resize: vertical; }
.eco_copyight, .tc-contact-line, .eco_box_content a { overflow-wrap: anywhere; }
.tc-pagination a { min-width: 44px; min-height: 44px; }
.tp-banner, .carousel, .bx-wrapper { touch-action: pan-y pinch-zoom; }
@media (max-width: 767px) {
  body { padding-top: 54px; }
  .eco_header, .tc-dynamic-page .eco_header { position: fixed; z-index: 10000; top: 0; left: 0; width: 100%; float: none; }
  .eco_header .container { width: 100%; padding: 0; }
  .eco_header .row { margin: 0; }
  .eco_header .padding_lr { padding: 0; }
  .eco_header .navbar-header { min-height: 54px; }
  .eco_header .navbar-toggle { min-height: 54px; padding: 12px 18px; }
  .eco_header #main-nav { max-height: calc(100vh - 54px); max-height: calc(100dvh - 54px); overflow-y: auto !important; overscroll-behavior-y: contain; }
  /* Bootstrap's .collapse also hides visibility; restore it when opening. */
  .eco_header #main-nav.tc-menu-open { display: block; visibility: visible; height: auto; animation: tc-menu-in 160ms ease-out; }
  .eco_header #main-nav .navbar-nav.my_menu > li { position: relative; }
  .eco_header #main-nav .navbar-nav.my_menu > li > a { min-height: 48px; line-height: 24px; }
  .eco_header #main-nav .navbar-nav.my_menu > li.has-mobile-submenu > a { padding-right: 64px !important; }
  .eco_header #main-nav .navbar-nav.my_menu > li.has-mobile-submenu > a::after { display: none; }
  .tc-submenu-toggle { display: flex; align-items: center; justify-content: center; position: absolute; top: 0; right: 6px; width: 48px; height: 48px; border: 0; background: transparent; color: #fff; font-size: 24px; line-height: 1; }
  .eco_header #main-nav .navbar-nav.my_menu ul.sub-menu li a { min-height: 44px; }
  .eco_header #main-nav .navbar-nav.my_menu > li:focus-within > ul.sub-menu { display: none; }
  .eco_header #main-nav .navbar-nav.my_menu > li.submenu-open > ul.sub-menu { display: block !important; }
  .tc-gallery-grid, .tc-photo-row, .tc-subcategories .tc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  #grid.eco_mix_grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  #grid.eco_mix_grid > .eco_show_overlay { width: auto; float: none; padding: 0 0 12px !important; }
  #grid.eco_mix_grid .eco_port_image img { display: block; width: 100%; height: auto; }
  .tc-subcategories .tc-card-body { padding: 14px 12px; min-height: 0; }
  .tc-subcategories .tc-card h2 { font-size: 16px; line-height: 1.35; overflow-wrap: break-word; }
  .tc-category-count { right: 5px; bottom: 5px; font-size: 11px; padding: 3px 6px; }
  .tc-home-news-secondary { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .tc-home-news-card { display: flex; }
  .tc-home-news-card-image { height: auto; aspect-ratio: 16/10; }
  .tc-home-news-card-content { padding: 20px; }
  .tc-home-news-card h4 { font-size: 20px; line-height: 1.35; overflow-wrap: break-word; }
  .tc-home-news-card p { font-size: 16px; }
  .tc-home-news-featured h3 { overflow-wrap: break-word; }
  .tc-article h1, .tc-gallery-heading h1 { overflow-wrap: break-word; }
  .tc-photo::after { display: none; }
  .eco_parallax_div { background-attachment: scroll !important; background-size: cover; }
  .eco_contact_page .eco_mapdiv { margin-bottom: 24px; }
  .eco_contact_page .border_blue { padding: 20px 12px; }
  .eco_contact_page .eco_box_content { margin-bottom: 20px; }
  .eco_contact_page iframe { max-width: 100%; height: 300px; }
  .eco_copyight { padding: 24px 18px; line-height: 1.8; }
  .eco_main_heading h2.tc-heading-as-h1 { font-size: 30px; }
  .eco_main_heading { padding-top: 24px; padding-bottom: 24px; }
  .eco_main_heading p, .eco_blog_content p { line-height: 1.7; }
}
@keyframes tc-menu-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .eco_header *, .eco_transition, .carousel-inner > .item, .tc-home-news-card-image img { transition: none !important; animation: none !important; }
}
