.elementor-3217 .elementor-element.elementor-element-6709130{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--overlay-opacity:0.73;--padding-top:100px;--padding-bottom:100px;--padding-left:0px;--padding-right:0px;}.elementor-3217 .elementor-element.elementor-element-6709130:not(.elementor-motion-effects-element-type-background), .elementor-3217 .elementor-element.elementor-element-6709130 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://avenuecentre.co.uk/wp-content/uploads/2026/01/Header-Image.jpg");background-position:center center;background-repeat:no-repeat;background-size:cover;}.elementor-3217 .elementor-element.elementor-element-6709130::before, .elementor-3217 .elementor-element.elementor-element-6709130 > .elementor-background-video-container::before, .elementor-3217 .elementor-element.elementor-element-6709130 > .e-con-inner > .elementor-background-video-container::before, .elementor-3217 .elementor-element.elementor-element-6709130 > .elementor-background-slideshow::before, .elementor-3217 .elementor-element.elementor-element-6709130 > .e-con-inner > .elementor-background-slideshow::before, .elementor-3217 .elementor-element.elementor-element-6709130 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:transparent;--background-overlay:'';background-image:linear-gradient(90deg, #000000 0%, #82927B 100%);}.elementor-3217 .elementor-element.elementor-element-7563e4e{--display:flex;}.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-3217 .elementor-element.elementor-element-8d407d3 .elementor-heading-title{font-family:"Poppins", Sans-serif;font-size:58px;font-weight:600;line-height:1.2em;color:#FFFFFF;}.elementor-3217 .elementor-element.elementor-element-e683fc3{--display:flex;}.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-3217 .elementor-element.elementor-element-c2d762a{font-family:"Poppins", Sans-serif;font-size:16px;font-weight:400;color:#000000;}:root{--page-title-display:none;}@media(max-width:1024px){.elementor-3217 .elementor-element.elementor-element-6709130{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:100px;--padding-bottom:100px;--padding-left:50px;--padding-right:50px;}.elementor-3217 .elementor-element.elementor-element-7563e4e{--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-3217 .elementor-element.elementor-element-8d407d3{text-align:center;}.elementor-3217 .elementor-element.elementor-element-8d407d3 .elementor-heading-title{font-size:45px;line-height:1em;}}@media(max-width:767px){.elementor-3217 .elementor-element.elementor-element-6709130{--padding-top:50px;--padding-bottom:80px;--padding-left:20px;--padding-right:20px;}.elementor-3217 .elementor-element.elementor-element-8d407d3{text-align:center;}.elementor-3217 .elementor-element.elementor-element-8d407d3 .elementor-heading-title{font-size:32px;}}/* Start custom CSS *//* =========================================================
   DOCUMENT LIBRARY PRO – POLICIES PAGE STYLES
   - Grid styling (category sections / results cards)
   - Search results styling (LIST view)
   - Table/list styling (single “all policies” list shortcode)
   ========================================================= */


/* =========================================================
   0) UNIVERSAL SEARCH INPUT (OPTIONAL BUT RECOMMENDED)
   ========================================================= */
.dlp-universal-search{
  margin: 0 0 18px;
  width: 100%;
}

.dlp-universal-search input[type="search"]{
  width: 100%;
  max-width: 680px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  outline: none;
}

.dlp-universal-search input[type="search"]:focus{
  border-color: #7e9e3e;
  box-shadow: 0 0 0 3px rgba(126,158,62,0.18);
}

.policy-results-title{
  margin: 10px 0 12px;
}


/* =========================================================
   1) GRID CARDS (CATEGORY SECTIONS / EXISTING CARD LAYOUT)
   ========================================================= */

/* Grid: 2 columns */
.dlp-grid-container .dlp-grid-documents{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

@media (max-width: 767px){
  .dlp-grid-container .dlp-grid-documents{
    grid-template-columns: 1fr !important;
  }
}

/* Ensure grid container can use full width */
.dlp-grid-container{
  width: 100% !important;
}

/* Card wrapper behaviour */
.dlp-grid-container .dlp-grid-card{
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

/* Transparent card + centered content */
.dlp-grid-container .dlp-grid-card-inner{
  text-align: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 18px 18px 16px 18px;
}

/* Fix alignment: consistent image area + true centering */
.dlp-grid-container .dlp-grid-card-featured-img{
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

/* Force the anchor to behave nicely for centering */
.dlp-grid-container .dlp-grid-card-featured-img a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Image sizing + centering */
.dlp-grid-container .dlp-grid-card-featured-img img{
  max-height: 220px;
  max-width: 200px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  display: block;
  margin: 0 auto !important;
}

/* Title styling (when titles are links) */
.dlp-grid-container .dlp-grid-card-title a{
  color: #7e9e3e !important;
  text-decoration: none;
  font-weight: 600;
}

/* Hide per-grid header/search/reset */
.dlp-grid-container .dlp-grid-header,
.dlp-grid-container .dlp-grid-reset{
  display: none !important;
}

/* Remove footer clutter (Show X per page / pagination) */
.dlp-grid-container .dlp-grid-footer .dlp-grid-length,
.dlp-grid-container .dlp-grid-footer .dlp-grid-pagination{
  display: none !important;
}

/* Financial section: white titles only (requires .dlp-financial class on that section) */
.dlp-financial .dlp-grid-card-title a{
  color: #ffffff !important;
}


/* =========================================================
   2) HIDE VIEW/DOWNLOAD + PREVIEW BUTTONS UNDER GRID CARDS
   ========================================================= */
.dlp-grid-container .dlp-grid-card-document-link-wrap{
  display: none !important;
}

.dlp-grid-container a.dlp-preview-button,
.dlp-grid-container a.dlp-download-link{
  display: none !important;
}

/* Extra safety (various markup variants) */
.dlp-grid-container .dlp-grid-card-content .dlp-grid-card-actions,
.dlp-grid-container .dlp-grid-card-content .dlp-grid-card-links,
.dlp-grid-container .dlp-grid-card-content .dlp-grid-card-link,
.dlp-grid-container .dlp-grid-card-content .dlp-grid-card-buttons,
.dlp-grid-container .dlp-grid-card-content .dlp-icon,
.dlp-grid-container .dlp-grid-card-content .dlp-link,
.dlp-grid-container .dlp-grid-card a.dlp-download,
.dlp-grid-container .dlp-grid-card a.dlp-view,
.dlp-grid-container .dlp-grid-card .dlp-download,
.dlp-grid-container .dlp-grid-card .dlp-view{
  display: none !important;
}


/* =========================================================
   3) TITLE LOOK & FEEL WHEN YOU’VE SWAPPED LINKS → SPAN
   (your script creates: <span class="dlp-title-text">Title</span>)
   ========================================================= */
.dlp-title-text{
  color: #7e9e3e;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.dlp-title-text:hover,
.dlp-title-text:focus{
  color: #5f7f2e;
  text-decoration: underline;
}

.dlp-title-text:active{
  opacity: 0.85;
}

.dlp-grid-card-title{
  margin-top: 10px;
}


/* =========================================================
   4) RESULTS BLOCK – LIST VIEW (REPLACED)
   - Forces cloned cards to look like a clean list row
   - Thumbnail left, title right
   ========================================================= */
#policyResultsWrap{
  margin: 20px 0 30px;
  width: 100%;
  max-width: 100%;
}

#policyResults{
  display: block !important; /* NOT grid */
  width: 100%;
  max-width: 100%;
}

/* Each result row */
#policyResults .dlp-grid-card{
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  max-width: 100% !important;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 12px 0;
}

/* Turn card inner into a row */
#policyResults .dlp-grid-card-inner{
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  text-align: left !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
}

/* Thumbnail column */
#policyResults .dlp-grid-card-featured-img{
  height: auto !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 90px;
  width: 90px !important;
}

/* Anchor behaves nicely */
#policyResults .dlp-grid-card-featured-img a{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 90px !important;
}

/* Thumbnail sizing */
#policyResults .dlp-grid-card-featured-img img{
  max-width: 90px !important;
  max-height: 70px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 !important;
}

/* Title column */
#policyResults .dlp-grid-card-title{
  margin: 0 !important;
  flex: 1 1 auto;
}

/* Ensure your span-title sits nicely */
#policyResults .dlp-title-text{
  display: inline !important;
  font-size: 18px;
  line-height: 1.3;
}

/* If the cloned card contains extra content, hide it so it stays “list-like” */
#policyResults .dlp-grid-card-content,
#policyResults .dlp-grid-card-excerpt,
#policyResults .dlp-grid-card-description{
  display: none !important;
}

/* Mobile: tighter thumbnail + slightly smaller title */
@media (max-width: 767px){
  #policyResults .dlp-grid-card-featured-img,
  #policyResults .dlp-grid-card-featured-img a{
    flex: 0 0 70px;
    width: 70px !important;
  }

  #policyResults .dlp-grid-card-featured-img img{
    max-width: 70px !important;
    max-height: 56px !important;
  }

  #policyResults .dlp-title-text{
    font-size: 16px;
  }
}


/* =========================================================
   5) TABLE / LIST (ALL POLICIES SHORTCODE) – MAKE IT GREEN
   Your screenshot is the DLP “table” view (DataTables)
   ========================================================= */

/* Hide datatables controls (length, filter, info, pagination) */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate{
  display: none !important;
}

/* General table sizing */
table.dataTable{
  width: 100% !important;
}

/* Title column links (FORCE green) */
table.dataTable tbody td:first-child a,
table.dataTable tbody td:first-child a:visited,
table.dataTable tbody td:first-child a:hover,
table.dataTable tbody td:first-child a:active{
  color: #7e9e3e !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

/* Hover underline */
table.dataTable tbody td:first-child a:hover{
  color: #5f7f2e !important;
  text-decoration: underline !important;
}

/* Also target DLP’s own title class if present */
.dlp-table-container .dlp-table-title a,
.dlp-table-container td.dlp-table-title a,
.dlp-table-container td:first-child a{
  color: #7e9e3e !important;
  font-weight: 600 !important;
}

/* Force the “Link” column (Download + magnifier) to green */
table.dataTable tbody td:last-child,
table.dataTable tbody td:last-child a,
table.dataTable tbody td:last-child a:visited{
  color: #7e9e3e !important;
}

/* SVG icons in the Link column (this is usually why it stays pink) */
table.dataTable tbody td:last-child svg,
table.dataTable tbody td:last-child svg path,
table.dataTable tbody td:last-child .dlp-icon,
table.dataTable tbody td:last-child .dlp-icon *{
  color: #7e9e3e !important;
  fill: #7e9e3e !important;
}

/* If the icons are font icons instead */
table.dataTable tbody td:last-child i,
table.dataTable tbody td:last-child i:before{
  color: #7e9e3e !important;
}

/* Keep Link column compact */
table.dataTable tbody td:last-child{
  white-space: nowrap;
  width: 140px;
}/* End custom CSS */