/*
Theme Name: Atis Child
Theme URI: https://matchthemes.com/premium/atis-lawyers-attorneys-consulting-wordpress-theme/
Description: Child theme for the Atis theme 
Author: MatchThemes
Author URI: https://matchthemes.com
Version: 1.0
Template: atis
*/



/* Hard reset that targets *this* file specifically */
img[src*="lss-logo-rgb-with-blue-bg"] {
  position: static !important;
  inset: auto !important;      /* top/right/bottom/left reset */
  float: none !important;
  display: inline-block !important;
  z-index: auto !important;
}

/* Make sure footer is normal flow */
.site-footer, footer, .footer-regulated { position: relative !important; }
.site-footer .footer-regulated img { max-width: 260px; height: auto; }

/* Keep header logo in normal flow – survives parent updates */
header.main-header .logo img,
header .logo-1 img {
  background: none !important;
  position: relative !important;
}



/* Base strip styling */
.mt-practice-strip{
  background: #6F746A;
  padding: 5px 5px;
  border-top: 3px solid #c8aa5a;
	border-bottom: 3px solid #c8aa5a;
}

.mt-practice-strip__inner{
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}

.mt-practice-strip__title{
  color: #fff;
  margin: 0 0 0px;
  font-size: 24px;
  line-height: 1.2;
}

.mt-practice-strip__text{
  color: rgba(255,255,255,0.92);
  margin: 0 auto;
  max-width: 900px;
  font-size: 15px;
  line-height: 1.6;
}

/* Move the strip under the ATIS practice hero */
body .mt-practice-strip{
  position: relative;
  z-index: 5;
}

/* This pushes it down so it appears after the hero section.
   You will likely need to tweak the number to match your hero height. */
.practice-area .mt-practice-strip,
.single-practice-area .mt-practice-strip{
  margin-top: 0;
}





/* Remove white gap between ATIS hero and the injected strip (Practice Areas only) */
body[class*="practice-area"] .page-header,
body[class*="practice-area"] .atis-page-header,
body[class*="practice-area"] .page-title-wrap,
body[class*="practice-area"] .page-title-area,
body[class*="practice-area"] .breadcrumb-area {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* In case the gap is coming from the wrapper ABOVE the strip */
body[class*="practice-area"] .mt-practice-strip {
  margin-top: 0 !important;
}
/* Some themes add top padding to the content area after the hero */
body[class*="practice-area"] #content,
body[class*="practice-area"] #primary,
body[class*="practice-area"] .site-content,
body[class*="practice-area"] main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
/* Kill the white gap between hero and the injected strip */
#mt-practice-strip {
  margin-top: -110px !important;  /* adjust this number */
margin-bottom: 20px;   /* space before content starts */
}
}
/* Remove bottom spacing from common ATIS hero wrappers */
.page-header,
.page-title-wrap,
.page-title-area,
.breadcrumb-area {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}




/* Kill the white gap between hero and the injected strip */
#mt-contact-strip {
  margin-top: -100px !important;  /* adjust this number */
margin-bottom: 80px;   /* space before content starts */
}




/* Legal Information Sidebar - Active Page Highlight */
.legal-sidebar a[aria-current="page"],
.legal-sidebar .current-menu-item > a,
.legal-sidebar .current_page_item > a {
    background-color: #C8AA5A;
    color: #ffffff !important;
    font-weight: 600;
}

.legal-sidebar a[aria-current="page"] i,
.legal-sidebar .current-menu-item > a i,
.legal-sidebar .current_page_item > a i {
    color: #ffffff !important;
}






/* Privacy Policy */
body.page-id-5637 .legal-sidebar a[href*="privacy-policy"] {
    background-color: #C8AA5A;
    color: #ffffff !important;
    font-weight: 600;
}

/* Cookie Policy */
body.page-id-5643 .legal-sidebar a[href*="cookie-policy"] {
    background-color: #C8AA5A;
    color: #ffffff !important;
    font-weight: 600;
}

/* Accessibility Statement */
body.page-id-5645 .legal-sidebar a[href*="accessibility-statement"] {
    background-color: #C8AA5A;
    color: #ffffff !important;
    font-weight: 600;
}

/* Complaints Procedure */
body.page-id-5647 .legal-sidebar a[href*="complaints-procedure"] {
    background-color: #C8AA5A;
    color: #ffffff !important;
    font-weight: 600;
}

/* Anti-Money Laundering Information */
body.page-id-5649 .legal-sidebar a[href*="anti-money-laundering-information"] {
    background-color: #C8AA5A;
    color: #ffffff !important;
    font-weight: 600;
}