/* Native behaviour and essential core styles; captured theme CSS remains primary. */
[hidden], .element-hidden { display: none !important; }
button:focus-visible, a:focus-visible, [role="button"]:focus-visible { outline: 2px solid #4d7907; outline-offset: 3px; }
.element-invisible { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.clearfix::after, .clear-block::after { content: ''; display: table; clear: both; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { font-family: 'Open Sans', Arial, sans-serif; }
.flexslider { max-height: none; overflow: visible; }
.preloader { background: none !important; }
.preloader img, .bwWrapper img { opacity: 1 !important; visibility: visible !important; }
.flexslider .slides > li:not([hidden]) { display: block !important; opacity: 1 !important; }
.flexslider .slides > li { position: relative; }
.flexslider .slides img { display: block; width: 100%; }
.flexslider .caption { display: block !important; opacity: 1 !important; visibility: visible !important; }
.static-slide-controls { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 10px; }
.static-slide-controls button { cursor: pointer; background: #eee; color: #333; padding: 5px 11px; border: 1px solid #ccc; border-radius: 3px; }
.static-slide-controls button[aria-pressed="true"] { background: #769b22; color: white; border-color: #769b22; }
.navigation li:hover > ul, .navigation li:focus-within > ul, .navigation li.static-expanded > ul { display: block !important; opacity: 1 !important; visibility: visible !important; }
.static-menu-toggle { display: none; }
.static-submenu-toggle { position: absolute; top: 7px; right: 1px; background: transparent; color: inherit; border: 0; cursor: pointer; padding: 3px 5px; }
.navigation li > a { display: inline-block; }
.static-lightbox { max-width: 94vw; max-height: 94vh; padding: 12px; border: 0; background: #151515; color: white; }
.static-lightbox::backdrop { background: #000c; }
.static-lightbox img { display: block; max-height: 80vh; width: auto; object-fit: contain; }
.static-lightbox button { display: block; margin: 0 0 10px auto; cursor: pointer; }
#static-search-results { clear: both; padding: 20px; margin-bottom: 20px; background: #f5f5f5; color: #333; }
#static-search-results ol { margin-left: 25px; }
#static-search-results a { font-weight: bold; }
#portfolio-filter [role="button"] { cursor: pointer; }
.static-table-scroll { max-width: 100%; overflow-x: auto; }
.static-external-embed { display: inline-block; padding: 15px; background: #f3f3f3; }
.search-wrapper { width: 210px; min-height: 34px; padding: 0 40px 0 0; box-sizing: border-box; }
.search-wrapper input[type="text"], .search-wrapper input[type="search"] { width: 160px; height: 34px; box-sizing: border-box; padding: 7px 8px; margin: 0; }
.search-wrapper .submit-search::after { display: none; }
.static-search-submit { width: 35px; height: 34px; padding: 0; border: 0; font-size: 23px; cursor: pointer; }
@media (max-width: 767px) {
  #content { overflow-wrap: anywhere; }
  #wrapper { width: auto; max-width: 100%; }
  #header .container, #content .container, #footer .container, .slider .container { max-width: calc(100% - 24px); box-sizing: border-box; }
  .container .columns, .container .column { max-width: 100%; box-sizing: border-box; }
  .container .container { width: 100%; max-width: 100% !important; margin: 0; }
  .static-menu-toggle { display: block; margin: 10px 0; padding: 9px 16px; cursor: pointer; }
  #navigation { display: none; float: none; width: 100%; }
  #navigation.static-open { display: block; }
  #navigation .menu > ul { display: block; }
  #navigation li { float: none; display: block; width: auto; }
  #navigation ul ul { position: static !important; width: auto !important; padding-left: 16px; display: none !important; }
  #navigation li.static-expanded > ul { display: block !important; }
  #navigation li > a { padding: 9px 5px; }
  #navigation li { position: relative; }
  #navigation li:has(> .static-submenu-toggle) > a { padding-right: 30px; }
  .static-submenu-toggle { top: 6px; right: 5px; padding: 5px 10px; }
  .search-wrapper { float: none; width: 100%; clear: both; }
  .search-wrapper input[type="search"] { max-width: 100%; }
  .search-wrapper input[type="text"], .search-wrapper input[type="search"] { width: 100%; }
  .contact-form .form-item label { display: block; padding: 0; margin-bottom: 5px; }
  .contact-form input[type="text"], .contact-form textarea { float: none; width: 100%; box-sizing: border-box; }
  .contact-form .form-item-name::before, .contact-form .form-item-mail::before, .contact-form .form-item-subject::before, .contact-form .form-item-message::before { display: none; }
  .flexslider .caption { position: static; padding: 10px; background: #333; }
  .flexslider .caption h4, .flexslider .caption .desc { font-size: 16px !important; }
  table { max-width: 100%; }
  td, th { overflow-wrap: anywhere; }
}
