.elementor-36411 .elementor-element.elementor-element-21d63cac{--display:flex;--min-height:42vh;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:flex-start;--overlay-opacity:0.25;}.elementor-36411 .elementor-element.elementor-element-21d63cac:not(.elementor-motion-effects-element-type-background), .elementor-36411 .elementor-element.elementor-element-21d63cac > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://trench-group.com/wp-content/uploads/2024/01/footer.jpg");background-position:center center;background-repeat:no-repeat;background-size:cover;}.elementor-36411 .elementor-element.elementor-element-21d63cac::before, .elementor-36411 .elementor-element.elementor-element-21d63cac > .elementor-background-video-container::before, .elementor-36411 .elementor-element.elementor-element-21d63cac > .e-con-inner > .elementor-background-video-container::before, .elementor-36411 .elementor-element.elementor-element-21d63cac > .elementor-background-slideshow::before, .elementor-36411 .elementor-element.elementor-element-21d63cac > .e-con-inner > .elementor-background-slideshow::before, .elementor-36411 .elementor-element.elementor-element-21d63cac > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:var( --e-global-color-primary );--background-overlay:'';}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-36411 .elementor-element.elementor-element-251e9ab0{width:var( --container-widget-width, 58% );max-width:58%;--container-widget-width:58%;--container-widget-flex-grow:0;}.elementor-36411 .elementor-element.elementor-element-251e9ab0 .elementor-heading-title{font-family:"Montserrat", Sans-serif;font-size:50px;font-weight:700;color:var( --e-global-color-secondary );}.elementor-36411 .elementor-element.elementor-element-f581d39{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:80px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}.elementor-36411 .elementor-element.elementor-element-d5f1221 .elementor-heading-title{font-family:"Montserrat", Sans-serif;font-weight:700;color:var( --e-global-color-text );}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-36411 .elementor-element.elementor-element-e2ffb84{font-family:"Montserrat", Sans-serif;font-size:18px;font-weight:300;}.elementor-36411 .elementor-element.elementor-element-02cdd4c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}@media(min-width:768px){.elementor-36411 .elementor-element.elementor-element-21d63cac{--content-width:1140px;}}@media(max-width:1366px){.elementor-36411 .elementor-element.elementor-element-21d63cac{--padding-top:0px;--padding-bottom:0px;--padding-left:30px;--padding-right:30px;}.elementor-36411 .elementor-element.elementor-element-251e9ab0{--container-widget-width:70%;--container-widget-flex-grow:0;width:var( --container-widget-width, 70% );max-width:70%;}.elementor-36411 .elementor-element.elementor-element-251e9ab0 .elementor-heading-title{font-size:48px;}}@media(max-width:1200px){.elementor-36411 .elementor-element.elementor-element-251e9ab0{--container-widget-width:74%;--container-widget-flex-grow:0;width:var( --container-widget-width, 74% );max-width:74%;}.elementor-36411 .elementor-element.elementor-element-251e9ab0 .elementor-heading-title{font-size:46px;}.elementor-36411 .elementor-element.elementor-element-f581d39{--padding-top:50px;--padding-bottom:50px;--padding-left:20px;--padding-right:20px;}}@media(max-width:1024px){.elementor-36411 .elementor-element.elementor-element-21d63cac{--min-height:36vh;}.elementor-36411 .elementor-element.elementor-element-251e9ab0{width:100%;max-width:100%;}.elementor-36411 .elementor-element.elementor-element-251e9ab0 .elementor-heading-title{font-size:44px;}}@media(max-width:767px){.elementor-36411 .elementor-element.elementor-element-21d63cac{--min-height:30vh;}.elementor-36411 .elementor-element.elementor-element-251e9ab0 .elementor-heading-title{font-size:32px;}.elementor-36411 .elementor-element.elementor-element-f581d39{--padding-top:50px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}}/* Start custom CSS */@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

#tg-document-library :root {
  --navy: #112B6E; --navy2: #051D81; --teal: #29AFC8;
  --teal-bg: #e8f7fa; --teal-mid: #b3e4ee;
  --text: #242424; --border: #E8E8E8; --bg: #ffffff; --sidebar-w: 220px;
}

body { font-family: 'Montserrat', sans-serif; color: var(--text); background: var(--bg); font-size: 14px; line-height: 1.6; }

#tg-document-library .tg-filters-bar {
  display: flex; gap: 12px; padding: 16px 48px;
  border-bottom: 1px solid var(--border); background: #FAFAFA;
  flex-wrap: wrap; align-items: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

#tg-document-library .tg-filters-bar label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #888; margin-right: 3px; }

#tg-document-library .tg-filter-group { display: flex; align-items: center; gap: 6px; }

#tg-document-library .tg-filters-bar select {
  font-family: 'Montserrat', sans-serif; font-size: 12px; padding: 6px 28px 6px 10px;
  border: 1px solid #ddd; border-radius: 6px; min-width: 170px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none; cursor: pointer; color: var(--text);
}

#tg-document-library .tg-filters-bar select:focus { outline: none; border-color: var(--teal); }

#tg-document-library .tg-btn-reset {
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 600;
  padding: 6px 14px; border: 1px solid #ddd; border-radius: 6px;
  background: #fff; cursor: pointer; color: #666; margin-left: 6px; transition: all .15s;
}

#tg-document-library .tg-btn-reset:hover { border-color: var(--navy); color: var(--navy); }

#tg-document-library .tg-results-count { margin-left: auto; font-size: 11px; color: #999; font-weight: 500; }

#tg-document-library .tg-layout { display: flex; max-width: 1200px; margin: 0 auto; padding: 0 48px 80px; gap: 48px; }

#tg-document-library .tg-sidebar { width: var(--sidebar-w); flex-shrink: 0; padding-top: 36px; position: sticky; top: 57px; height: fit-content; align-self: flex-start; }

#tg-document-library .tg-sidebar-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #aaa; margin-bottom: 14px; }

#tg-document-library .tg-sidebar nav a {
  display: block; font-size: 13px; font-weight: 500; color: #555;
  text-decoration: none; padding: 9px 12px; border-radius: 6px; margin-bottom: 2px; transition: all .15s;
}

#tg-document-library .tg-sidebar nav a:hover { background: #F0F0F0; color: var(--text); }

#tg-document-library .tg-sidebar nav a.tg-active { background: var(--navy); color: #fff; font-weight: 600; }

#tg-document-library .tg-main { flex: 1; padding-top: 36px; min-width: 0; }

#tg-document-library .tg-category-section { margin-bottom: 56px; }

#tg-document-library .tg-cat-header h2 { font-size: 20px; font-weight: 700; color: #000; margin-bottom: 6px; }

#tg-document-library .tg-cat-header p { font-size: 13px; color: #666; max-width: 600px; line-height: 1.6; font-weight: 400; }

#tg-document-library .tg-cat-divider { border: none; border-top: 2px solid var(--border); margin: 14px 0 20px; }

#tg-document-library .tg-doc-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--border); gap: 16px; transition: all .1s;
}

#tg-document-library .tg-doc-row:last-child { border-bottom: none; }

#tg-document-library .tg-doc-row:hover { background: #FAFAFA; padding-left: 8px; padding-right: 8px; margin: 0 -8px; border-radius: 6px; }

#tg-document-library .tg-doc-info { flex: 1; min-width: 0; }

#tg-document-library .tg-doc-name { font-size: 13px; font-weight: 600; color: #000; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

#tg-document-library .tg-doc-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

#tg-document-library .tg-tag { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 2px 8px; border-radius: 20px; }

#tg-document-library .tag.tg-factory { border: 1.5px solid var(--teal); color: var(--teal); background: var(--teal-bg); }

#tg-document-library .tag.tg-lang { border: 1.5px solid var(--teal-mid); color: #1a7a91; background: #f0fafb; }

#tg-document-library .tag.tg-year { border: 1.5px solid #a8dce8; color: #2a8fa5; background: #f5fcfd; }

#tg-document-library .tg-doc-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; flex-wrap: wrap; max-width: 300px; justify-content: flex-end; }

#tg-document-library .tg-doc-actions a.tg-btn-download,
#tg-document-library .tg-doc-actions a.tg-btn-download:visited,
#tg-document-library .tg-archive-row .tg-doc-actions a.tg-btn-download {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #112B6E !important;
  text-decoration: none !important;
  padding: 5px 11px !important;
  border: 1.5px solid #112B6E !important;
  border-radius: 6px !important;
  transition: all .15s !important;
  white-space: nowrap !important;
  background: #ffffff !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
}

#tg-document-library .tg-doc-actions a.tg-btn-download:hover {
  background: #112B6E !important;
  color: #ffffff !important;
}

#tg-document-library .tg-doc-actions a.tg-btn-download svg,
#tg-document-library .tg-archive-row .tg-doc-actions a.tg-btn-download svg {
  width: 11px !important;
  height: 11px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  fill: currentColor !important;
  vertical-align: middle !important;
}

#tg-document-library .tg-doc-actions a.tg-btn-download:hover svg {
  fill: #ffffff !important;
}

#tg-document-library .tg-accordion-wrapper { margin: 8px 0 6px; border: 1.5px solid var(--border); border-radius: 8px; background: #F9F9F9; overflow: hidden; }

#tg-document-library .tg-accordion-trigger {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; color: var(--navy); cursor: pointer;
  padding: 10px 16px; border: none; background: none;
  font-family: 'Montserrat', sans-serif; letter-spacing: 0.4px; text-transform: uppercase;
  transition: background .15s; width: 100%; text-align: left; user-select: none;
}

#tg-document-library .tg-accordion-trigger:hover { background: #EEF2FF; }

#tg-document-library .tg-accordion-trigger .tg-arrow { display: inline-block; transition: transform .2s; font-size: 9px; color: var(--teal); }

#tg-document-library .accordion-trigger.tg-open .tg-arrow { transform: rotate(90deg); }

#tg-document-library .tg-accordion-content { display: none; padding: 0 16px 12px; border-top: 1px solid var(--border); }

#tg-document-library .accordion-content.tg-open { display: block; }

#tg-document-library .tg-archive-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); gap: 16px; opacity: .78; }

#tg-document-library .tg-archive-row:last-child { border-bottom: none; }

#tg-document-library .tg-archive-doc-name { font-size: 12px; font-weight: 500; color: #444; margin-bottom: 5px; }

#tg-document-library .tg-archive-note { font-size: 10px; color: #999; font-style: italic; }

#tg-document-library .tg-no-results { text-align: center; padding: 60px 20px; color: #aaa; font-size: 14px; display: none; }

#tg-document-library .tg-no-results .icon { font-size: 32px; margin-bottom: 12px; }

#tg-document-library /* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .tg-filters-bar { padding: 14px 24px; }
  .tg-layout { padding: 0 24px 60px; gap: 32px; }
  .tg-sidebar { width: 180px; }
  .tg-filters-bar select { min-width: 140px; }
}

@media (max-width: 767px) {
#tg-document-library .tg-filters-bar { padding: 12px 16px; flex-direction: column; align-items: stretch; }

#tg-document-library .tg-filter-group { flex-direction: column; align-items: flex-start; gap: 4px; }

#tg-document-library .tg-filters-bar select { width: 100%; min-width: unset; }

#tg-document-library .tg-btn-reset { margin-left: 0; width: 100%; text-align: center; }

#tg-document-library .tg-results-count { margin-left: 0; }

#tg-document-library .tg-sidebar { display: none; }

#tg-document-library .tg-mobile-cat-nav { display: flex !important; overflow-x: auto; gap: 8px; padding: 12px 16px 0; scrollbar-width: none; }

#tg-document-library .tg-mobile-cat-nav::-webkit-scrollbar { display: none; }

#tg-document-library .tg-mobile-cat-nav a {
    white-space: nowrap; font-size: 12px; font-weight: 600; padding: 6px 14px;
    border-radius: 20px; border: 1.5px solid var(--navy); color: var(--navy);
    text-decoration: none; background: #fff; transition: all .15s; flex-shrink: 0;
  }

#tg-document-library .tg-mobile-cat-nav a.tg-active,
#tg-document-library .tg-mobile-cat-nav a:hover { background: var(--navy); color: #fff; }

#tg-document-library .tg-layout { flex-direction: column; padding: 0 16px 48px; gap: 0; }

#tg-document-library .tg-main { padding-top: 20px; }

#tg-document-library .tg-doc-row { flex-direction: column; align-items: flex-start; gap: 10px; }

#tg-document-library .tg-doc-row:hover { padding-left: 0; padding-right: 0; margin: 0; }

#tg-document-library .tg-doc-name { white-space: normal; }

#tg-document-library .tg-doc-actions { max-width: 100%; justify-content: flex-start; }

#tg-document-library .tg-archive-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}

#tg-document-library /* ============================================
   FIXES v3 — applied after theme audit
   ============================================ */

/* 1. Google Fonts – Montserrat (load via CSS since widget HTML head is ignored) */

/* 2. Apply Montserrat to all elements inside the widget */
.tg-filters-bar,
#tg-document-library .tg-filters-bar *,
#tg-document-library .tg-layout,
#tg-document-library .tg-layout * {
  font-family: 'Montserrat', sans-serif !important;
}

#tg-document-library /* 3. Filters bar — add a subtle grey border */
.tg-filters-bar {
  border: 1px solid #E0E0E0 !important;
  border-radius: 8px !important;
  margin: 0 0 8px 0 !important;
}

#tg-document-library /* 4. Clear filters button — navy background,
#tg-document-library white text,
#tg-document-library 14px,
#tg-document-library uppercase,
#tg-document-library always */
.tg-btn-reset {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  padding: 7px 18px !important;
  border: none !important;
  border-radius: 6px !important;
  background: #112B6E !important;
  color: #ffffff !important;
  cursor: pointer !important;
  margin-left: 6px !important;
  transition: background .15s !important;
}

#tg-document-library .tg-btn-reset:hover {
  background: #051D81 !important;
  color: #ffffff !important;
}

#tg-document-library /* 5. Tags — restore teal colours overridden by theme */
.tg-tag {
  font-size: 10px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 2px 8px !important;
  border-radius: 20px !important;
  display: inline-block !important;
}

#tg-document-library .tg-tag.tg-factory {
  border: 1.5px solid #29AFC8 !important;
  color: #29AFC8 !important;
  background: #e8f7fa !important;
}

#tg-document-library .tg-tag.tg-lang {
  border: 1.5px solid #b3e4ee !important;
  color: #1a7a91 !important;
  background: #f0fafb !important;
}

#tg-document-library .tg-tag.tg-year {
  border: 1.5px solid #a8dce8 !important;
  color: #2a8fa5 !important;
  background: #f5fcfd !important;
}

#tg-document-library /* 6. Sidebar sticky — add top padding so it doesn't stick under the menu */
.tg-sidebar {
  top: 170px !important;
  padding-top: 24px !important;
}

#tg-document-library /* 7. Accordion — full override to beat theme button styles */
.tg-accordion-wrapper {
  margin: 8px 0 6px !important;
  border: 1.5px solid #E8E8E8 !important;
  border-radius: 8px !important;
  background: #F9F9F9 !important;
  overflow: hidden !important;
}

#tg-document-library button.tg-accordion-trigger,
#tg-document-library .tg-accordion-wrapper button.tg-accordion-trigger {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #112B6E !important;
  cursor: pointer !important;
  padding: 10px 16px !important;
  border: none !important;
  border-radius: 0 !important;
  background: #F9F9F9 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  transition: background .15s !important;
  width: 100% !important;
  text-align: left !important;
  user-select: none !important;
  box-shadow: none !important;
  outline: none !important;
  line-height: 1.4 !important;
}

#tg-document-library button.tg-accordion-trigger:hover,
#tg-document-library .tg-accordion-wrapper button.tg-accordion-trigger:hover {
  background: #EEF2FF !important;
  color: #112B6E !important;
}

#tg-document-library button.tg-accordion-trigger .tg-arrow {
  display: inline-block !important;
  transition: transform .2s !important;
  font-size: 9px !important;
  color: #29AFC8 !important;
  font-style: normal !important;
}

#tg-document-library button.tg-accordion-trigger.tg-open .tg-arrow {
  transform: rotate(90deg) !important;
}

#tg-document-library .tg-accordion-content {
  display: none !important;
  padding: 0 16px 12px !important;
  border-top: 1px solid #E8E8E8 !important;
}

#tg-document-library .tg-accordion-content.tg-open {
  display: block !important;
}
#tg-document-library .tg-mobile-cat-nav a,
#tg-document-library .tg-mobile-cat-nav a:link,
#tg-document-library .tg-mobile-cat-nav a:visited {
  color: #112B6E !important;
  background: #ffffff !important;
  border: 1.5px solid #112B6E !important;
}
#tg-document-library .tg-mobile-cat-nav a.tg-active,
#tg-document-library .tg-mobile-cat-nav a:hover {
  background: #112B6E !important;
  color: #ffffff !important;
}
#tg-document-library .tg-sidebar nav a,
#tg-document-library .tg-sidebar nav a:link,
#tg-document-library .tg-sidebar nav a:visited {
  color: #555555 !important;
  background: transparent !important;
  text-decoration: none !important;
}
#tg-document-library .tg-sidebar nav a:hover {
  background: #F0F0F0 !important;
  color: #242424 !important;
}
#tg-document-library .tg-sidebar nav a.tg-active {
  background: #112B6E !important;
  color: #ffffff !important;
}
#tg-document-library .tg-category-section {
  scroll-margin-top: 220px !important;
}
#tg-document-library .tg-mobile-cat-nav {
  display: none;
}
@media (max-width: 767px) {
  #tg-document-library .tg-mobile-cat-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    background: #fff;
    padding: 10px 16px;
    z-index: 11;
  }
}/* End custom CSS */