/* theworkssowerbybridge.co.uk — offline YOOtheme/UIkit layout */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #333;
  background: #f5f0e8;
  line-height: 1.6;
}
a { color: #8b4513; text-decoration: none; }
a:hover { text-decoration: underline; }
.uk-container { max-width: 1020px; margin: 0 auto; padding: 0 20px; }
.uk-container-center { margin-left: auto; margin-right: auto; }
.uk-clearfix::after { content: ""; display: table; clear: both; }
.uk-hidden-small { display: block; }
@media (max-width: 767px) { .uk-hidden-small { display: none; } .uk-hidden-large { display: block; } }
@media (min-width: 768px) { .uk-hidden-large { display: none; } }
.tm-headerbar, .tm-navbar, .uk-navbar {
  background: #1a1512;
  border-bottom: 3px solid #c9a227;
}
.uk-navbar-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.uk-navbar-nav > li { position: relative; }
.uk-navbar-nav > li > a {
  display: block; padding: 14px 18px; color: #f5f0e8; font: 600 14px/1.2 Arial, sans-serif;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.uk-navbar-nav > li.uk-active > a, .uk-navbar-nav > li > a:hover { background: #3d2b1f; color: #fff; }
.uk-parent:hover .uk-dropdown { display: block; }
.uk-dropdown {
  display: none; position: absolute; left: 0; top: 100%; min-width: 220px;
  background: #2a2018; padding: 8px 0; z-index: 100; box-shadow: 0 4px 12px rgba(0,0,0,.35);
}
.uk-nav-navbar { list-style: none; margin: 0; padding: 0; }
.uk-nav-navbar a { display: block; padding: 8px 16px; color: #eee; font-size: 13px; }
.uk-nav-navbar a:hover { background: #4a3728; }
.tm-fullscreen, .wk-slideshow, .wk-gallery-showcase { background: #111; }
.wk-slideshow .slides { list-style: none; margin: 0; padding: 0; }
.wk-slideshow .slides li { margin: 0; }
.wk-slideshow .slides img {
  width: 100%; max-height: 420px; object-fit: cover; display: block;
}
.wk-slideshow .slides li:empty { display: none; }
.tm-top-a, .tm-main, .tm-content { padding: 28px 0; }
.uk-heading-large { font-size: 2rem; color: #5c3d2e; margin: 0 0 1rem; }
.uk-text-center { text-align: center; }
.uk-text-justify { text-align: justify; }
.tm-dropcap { float: left; font-size: 3.2em; line-height: 0.85; margin: 0 0.1em 0 0; color: #8b4513; }
.tm-block-footer, .tm-footer { background: #1a1512; color: #ccc; padding: 24px 0; font-size: 14px; }
.tm-block-footer a { color: #e8d5a3; }
ul { margin: 0 0 1em 1.2em; }
.tm-logo {
  display: inline-block; min-width: 160px; min-height: 52px;
  background: url('/wp-content/themes/theworks/images/minilogo1.jpg') left center / contain no-repeat;
  text-indent: -9999px; overflow: hidden;
}
#tm-fullscreen { min-height: 380px; position: relative; overflow: hidden; }
.wk-slideshow .slides-container { position: relative; height: 380px; background: #1a1512; }
.wk-slideshow .slides { position: relative; height: 100%; margin: 0; padding: 0; }
.wk-slideshow .slides > li {
  position: absolute; inset: 0; margin: 0; padding: 0; list-style: none;
  opacity: 0; transition: opacity 0.6s ease;
}
.wk-slideshow .slides > li.wk-active { opacity: 1; z-index: 2; }
.wk-slideshow .slides img { width: 100%; height: 380px; object-fit: cover; display: block; }
.wk-slideshow .caption, .wk-slideshow .captions { display: none !important; }
.tm-block-divider { border-top: 1px solid #ddd; }
.tm-block-dark, #tm-bottom-c { background: #2a2018; color: #eee; }
.tm-block-dark a, #tm-bottom-c a { color: #e8d5a3; }
.tm-block-dark .uk-heading-large, #tm-bottom-c .uk-heading-large { color: #f5f0e8; }
.uk-grid { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.uk-grid > [class*="uk-width"] { padding: 0 15px; box-sizing: border-box; }
.uk-width-medium-1-4 { width: 25%; }
.uk-width-medium-1-2 { width: 50%; }
@media (max-width: 767px) { .uk-width-medium-1-4, .uk-width-medium-1-2 { width: 100%; } }
.tm-divider { border: 0; border-top: 1px solid #c9a227; margin: 12px 0; }
.uk-overlay img { max-width: 120px; height: auto; display: block; margin: 0 auto 8px; }
.wk-gallery-slider { overflow: hidden; max-width: 100%; }
.wk-gallery-slider .slides {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  list-style: none; margin: 0; padding: 0;
}
.wk-gallery-slider .slides > li {
  flex: 1 1 280px; max-width: 360px; min-height: 240px; border-radius: 4px;
  background-size: contain !important; background-position: center top !important;
  background-color: #2a2018 !important;
  position: relative; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.25);
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wk-gallery-slider .slides > li:hover {
  transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.35);
}
.wk-gallery-slider .slides > li > div[style*="height: 500"] { display: none !important; }
.wk-gallery-slider .overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  background: linear-gradient(transparent 40%, rgba(0,0,0,.75));
  padding: 16px; color: #fff; font-size: 14px;
}
.wk-gallery-slider .overlay p { margin: 0; }
.wk-map, .wk-map-default { width: 100% !important; max-width: 480px; margin: 0 auto; }
.wk-map iframe { width: 100%; height: 200px; border: 0; border-radius: 4px; }
.tm-social img { width: 44px; height: 44px; margin: 0 8px; vertical-align: middle; }
.tm-smoothscroll-bar {
  position: fixed; right: 14px; top: 42%; z-index: 50; list-style: none; margin: 0; padding: 0;
}
.tm-smoothscroll-bar li { margin: 6px 0; }
.tm-smoothscroll-bar a {
  display: block; width: 10px; height: 10px; border-radius: 50%;
  background: #c9a227; opacity: 0.45; text-indent: -9999px; overflow: hidden;
}
.tm-smoothscroll-bar a:hover { opacity: 1; }
.uk-navbar .uk-clearfix { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.uk-navbar-flip { margin-left: auto; }
.uk-panel-title { font-size: 1.5rem; color: #5c3d2e; margin: 0 0 16px; }
.tm-totop-scroller {
  display: inline-block; margin-bottom: 12px; padding: 6px 14px;
  background: #3d2b1f; color: #f5f0e8 !important; border-radius: 3px; font-size: 12px;
}
.ccf-form-frame { display: none !important; }
