/*
Theme Name: CSG Services
Theme URI: https://csgsignservices.com/
Author: CSG Production Group
Description: Custom WordPress theme for CSG Services based on the approved CSG Services site prototype.
Version: 1.9.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: csg-services
*/

/* The approved page styles are loaded conditionally from home.css, services.css, about.css, contact.css and generic.css. */


/* ==========================================================
   V15 — GA4 CONSENT CONTROLS
   ========================================================== */
.footer-cookie-choice{
  appearance:none;
  border:0;
  padding:0;
  margin:0;
  background:transparent;
  color:inherit;
  font:inherit;
  text-align:left;
  cursor:pointer;
  opacity:.78;
}
.footer-cookie-choice:hover,
.footer-cookie-choice:focus-visible{
  opacity:1;
  text-decoration:underline;
}

.analytics-consent[hidden]{
  display:none !important;
}
.analytics-consent{
  position:fixed;
  z-index:99999;
  left:24px;
  right:24px;
  bottom:24px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:28px;
  max-width:1180px;
  margin:0 auto;
  padding:24px 26px;
  background:#f3f5f2;
  color:#0f4a6d;
  border:1px solid rgba(15,74,109,.28);
  box-shadow:0 20px 60px rgba(5,24,34,.20);
}
.analytics-consent__copy{
  max-width:760px;
}
.analytics-consent__copy h2{
  margin:0 0 8px;
  color:#0f4a6d;
  font-size:20px;
  line-height:1.15;
  letter-spacing:-.02em;
}
.analytics-consent__copy p{
  margin:0;
  color:#344f5b;
  font-size:14px;
  line-height:1.55;
}
.analytics-consent__copy a{
  color:#0f4a6d;
  font-weight:750;
  text-underline-offset:3px;
}
.analytics-consent__actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.analytics-consent__actions button{
  min-height:44px;
  padding:11px 16px;
  border:1px solid #0f4a6d;
  border-radius:0;
  font:inherit;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}
.analytics-consent__decline{
  background:transparent;
  color:#0f4a6d;
}
.analytics-consent__accept{
  background:#2cf16a;
  color:#0f4a6d;
}
.analytics-consent__actions button:hover,
.analytics-consent__actions button:focus-visible{
  outline:2px solid #0f4a6d;
  outline-offset:2px;
}

@media(max-width:720px){
  .analytics-consent{
    left:12px;
    right:12px;
    bottom:12px;
    grid-template-columns:1fr;
    gap:18px;
    padding:20px;
  }
  .analytics-consent__actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%;
  }
  .analytics-consent__actions button{
    width:100%;
  }
}

@media(max-width:420px){
  .analytics-consent__actions{
    grid-template-columns:1fr;
  }
}
