/* ===== Scoped CSS: only page-id-1502 + only inside .tlg-local-wrap ===== */

.tlg-local-wrap{
  --bg:#0b1220;
  --card:#0f1a2e;
  --muted:#a8b3cf;
  --text:#eaf0ff;
  --accent:#6d7bff;
  --accent2:#25d0ab;
  --border: rgba(255,255,255,.10);
  --shadow: 0 14px 35px rgba(0,0,0,.35);
  --radius: 22px;
  --soft: rgba(255,255,255,.05);

  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  line-height:1.45;

  background:
    radial-gradient(900px 520px at 10% 120px, rgba(109,123,255,.35), transparent 60%),
    radial-gradient(900px 520px at 90% 220px, rgba(37,208,171,.22), transparent 60%),
    var(--bg);
  width:100%;
}

.tlg-local-wrap,
.tlg-local-wrap *{box-sizing:border-box}

.tlg-local-wrap a{color:inherit}
.tlg-local-wrap .container{max-width:1440px; margin:0 auto; padding:28px 18px 80px}

.tlg-local-wrap .topbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:12px 0;
}
.tlg-local-wrap .brand{
  display:flex; align-items:center; gap:10px; font-weight:900;
  letter-spacing:.2px;
}
.tlg-local-wrap .logo{
  width:38px; height:38px; border-radius:12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: var(--shadow);
}

.tlg-local-wrap .btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color:var(--text);
  padding:12px 16px;
  border-radius:14px;
  text-decoration:none;
  font-weight:800;
  transition:.15s ease;
  cursor:pointer;
  white-space:nowrap;
}
.tlg-local-wrap .btn:hover{transform:translateY(-1px); background: rgba(255,255,255,.09)}
.tlg-local-wrap .btn.primary{
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 25px rgba(109,123,255,.25);
}

.tlg-local-wrap h1{
  margin:18px 0 8px;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing:-.7px;
  line-height:1.08;
}
.tlg-local-wrap .sub{
  color:var(--muted);
  margin:0 0 18px;
  font-size:16px;
  max-width: 900px;
}

.tlg-local-wrap .section{margin-top:26px}
.tlg-local-wrap .section h2{
  margin:0 0 12px;
  font-size:22px;
  letter-spacing:-.3px;
}

/* Pricing cards */
.tlg-local-wrap .pricingWrap{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
  align-items:stretch;
}
.tlg-local-wrap .plan{
  border:1px solid var(--border);
  background: rgba(255,255,255,.035);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:22px 20px;
  position:relative;
  overflow:hidden;
  min-height: 560px;
  display:flex;
  flex-direction:column;
}
.tlg-local-wrap .plan::before{
  content:"";
  position:absolute;
  inset:-60px -60px auto auto;
  width:220px; height:220px;
  border-radius:50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.10), transparent 60%);
  opacity:.8;
  pointer-events:none;
}
.tlg-local-wrap .planHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.tlg-local-wrap .tag{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  color:var(--text);
}
.tlg-local-wrap .tag.green{border-color: rgba(37,208,171,.35); background: rgba(37,208,171,.12)}
.tlg-local-wrap .tag.blue{border-color: rgba(109,123,255,.45); background: rgba(109,123,255,.14)}
.tlg-local-wrap .tag.red{border-color: rgba(255,140,140,.40); background: rgba(255,140,140,.10)}

.tlg-local-wrap .planName{font-weight:900; font-size:16px}
.tlg-local-wrap .price{
  display:flex; align-items:baseline; gap:8px;
  margin:8px 0 10px;
}
.tlg-local-wrap .price .big{font-size:54px; font-weight:1000; letter-spacing:-1.2px}
.tlg-local-wrap .price .per{color:var(--muted); font-weight:800}
.tlg-local-wrap .planDesc{color:var(--muted); margin:0 0 12px}

.tlg-local-wrap .bullets{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.tlg-local-wrap .bullets li{
  display:flex;
  gap:10px;
  color:var(--muted);
  font-size:14px;
  line-height:1.35;
}
.tlg-local-wrap .tick{
  width:20px; height:20px;
  border-radius:7px;
  flex:0 0 auto;
  border:1px solid rgba(37,208,171,.35);
  background: rgba(37,208,171,.12);
  display:flex; align-items:center; justify-content:center;
  margin-top:1px;
  color: var(--text);
}
.tlg-local-wrap .tick svg{width:14px; height:14px}

.tlg-local-wrap .divider{
  height:1px;
  background: rgba(255,255,255,.08);
  margin:16px 0;
}
.tlg-local-wrap .small{
  color:var(--muted);
  font-size:13px;
  margin-top:auto;
}
.tlg-local-wrap .planActions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.tlg-local-wrap .planActions .btn{padding:12px 14px}

/* Standalone table */
.tlg-local-wrap .panel{
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:20px;
}
.tlg-local-wrap .table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius: 18px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
}
.tlg-local-wrap .table th,
.tlg-local-wrap .table td{
  text-align:left;
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.06);
  font-size:14px;
  vertical-align:top;
}
.tlg-local-wrap .table th{
  font-size:12px;
  color: var(--muted);
  letter-spacing:.2px;
  text-transform:uppercase;
  background: rgba(255,255,255,.03);
}
.tlg-local-wrap .table tr:last-child td{border-bottom:0}
.tlg-local-wrap .right{text-align:right}

.tlg-local-wrap .footer{
  margin-top:32px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex; flex-wrap:wrap; gap:10px;
  align-items:center; justify-content:space-between;
  color: var(--muted);
  font-size:13px;
}

@media (max-width: 980px){
  .tlg-local-wrap .pricingWrap{grid-template-columns: 1fr}
  .tlg-local-wrap .plan{min-height:auto}
}
/* Fix WP auto <p> wrappers breaking the grid */
.tlg-local-wrap .pricingWrap > p{
  display: contents;
}
/* ===== Editor-only: ignore TinyMCE extra nodes in the grid ===== */
body#tinymce .pricingWrap > :not(.plan){
  display: none !important;
}
/* ===== Editor-only: ignore TinyMCE extra nodes in the grid ===== */
body#tinymce .pricingWrap > :not(.plan){
  display: none !important;
}
/* ===== Shared pills ===== */
.tlg-local-wrap .pillrow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.tlg-local-wrap .pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color:var(--text);
  font-size:14px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
}

.tlg-local-wrap .pill::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background: rgba(109,123,255,.95);
  box-shadow:0 0 0 4px rgba(109,123,255,.14);
  flex:0 0 auto;
}

.tlg-local-wrap .pill:nth-child(1){
  background: rgba(37,208,171,.08);
  border-color: rgba(37,208,171,.22);
}
.tlg-local-wrap .pill:nth-child(1)::before{
  background: #25d0ab;
  box-shadow:0 0 0 4px rgba(37,208,171,.14);
}

.tlg-local-wrap .pill:nth-child(2){
  background: rgba(109,123,255,.08);
  border-color: rgba(109,123,255,.22);
}
.tlg-local-wrap .pill:nth-child(2)::before{
  background: #6d7bff;
  box-shadow:0 0 0 4px rgba(109,123,255,.14);
}

.tlg-local-wrap .pill:nth-child(3){
  background: rgba(255,184,77,.08);
  border-color: rgba(255,184,77,.22);
}
.tlg-local-wrap .pill:nth-child(3)::before{
  background: #ffb84d;
  box-shadow:0 0 0 4px rgba(255,184,77,.14);
}

.tlg-local-wrap .pill:nth-child(4){
  background: rgba(255,122,122,.08);
  border-color: rgba(255,122,122,.22);
}
.tlg-local-wrap .pill:nth-child(4)::before{
  background: #ff7a7a;
  box-shadow:0 0 0 4px rgba(255,122,122,.14);
}

.tlg-local-wrap .pill:nth-child(5){
  background: rgba(168,179,207,.08);
  border-color: rgba(168,179,207,.22);
}
.tlg-local-wrap .pill:nth-child(5)::before{
  background: #a8b3cf;
  box-shadow:0 0 0 4px rgba(168,179,207,.14);
}
/* ===== Shared hero button row ===== */
.tlg-local-wrap .heroActions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin-top:18px;
}
/* ===== Shared top-right button row ===== */
.tlg-local-wrap .nav{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  justify-content:flex-end;
  margin-bottom:16px;
}
/* ===== Shared hero section ===== */
.tlg-local-wrap .hero{
  border:1px solid var(--border);
  background: rgba(255,255,255,.035);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding:34px 28px 34px;
  position:relative;
  overflow:hidden;
  margin-bottom:28px;
}

.tlg-local-wrap .hero::before{
  content:"";
  position:absolute;
  inset:-80px -70px auto auto;
  width:320px;
  height:320px;
  border-radius:50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.10), transparent 62%);
  pointer-events:none;
  opacity:.9;
}

.tlg-local-wrap .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 14px;
  border-radius:16px;
  border:1px solid rgba(109,123,255,.35);
  background: rgba(109,123,255,.10);
  color:var(--text);
  font-size:13px;
  font-weight:800;
  line-height:1;
  margin-bottom:18px;
}

.tlg-local-wrap .hero > p,
.tlg-local-wrap .hero > div,
.tlg-local-wrap .hero > h1{
  position:relative;
  z-index:1;
}

.tlg-local-wrap .hero h1{
  margin-top:0;
  margin-bottom:14px;
}

.tlg-local-wrap .hero p{
  color:var(--muted);
  font-size:16px;
  max-width:900px;
  margin:0 0 18px;
}
/* ===== Shared section titles ===== */
.tlg-local-wrap .sectionTitle{
  margin:0 0 18px;
  font-size: clamp(24px, 2.6vw, 40px);
  letter-spacing:-.5px;
  line-height:1.08;
  color:var(--text);
}

/* ===== Shared impact section ===== */
.tlg-local-wrap .impactSection{
  margin-top:30px;
}

.tlg-local-wrap .impact{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  align-items:stretch;
}

.tlg-local-wrap .impactCard{
  border:1px solid var(--border);
  background: rgba(255,255,255,.035);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding:22px 20px;
  min-height:100%;
}

.tlg-local-wrap .impactCard h3{
  margin:0 0 12px;
  font-size:18px;
  line-height:1.2;
  letter-spacing:-.2px;
  color:var(--text);
  display:flex;
  align-items:center;
  gap:10px;
}

.tlg-local-wrap .impactCard h3::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:50%;
  flex:0 0 auto;
}

.tlg-local-wrap .impactCard:nth-child(1) h3::before{
  background:#77c8ff;
  box-shadow:0 0 0 4px rgba(119,200,255,.14);
}

.tlg-local-wrap .impactCard:nth-child(2) h3::before{
  background:#9d7cff;
  box-shadow:0 0 0 4px rgba(157,124,255,.14);
}

.tlg-local-wrap .impactCard:nth-child(3) h3::before{
  background:#34d4a2;
  box-shadow:0 0 0 4px rgba(52,212,162,.14);
}

.tlg-local-wrap .impactCard p,
.tlg-local-wrap .impactCard{
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
}

@media (max-width: 980px){
  .tlg-local-wrap .impact{
    grid-template-columns:1fr;
  }
}
/* ===== Shared panel text tuning ===== */
.tlg-local-wrap .panel h3{
  margin:0 0 16px;
  font-size:22px;
  line-height:1.2;
  letter-spacing:-.3px;
  color:var(--text);
}

.tlg-local-wrap .panel p{
  margin:0 0 16px;
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
  max-width: 1000px;
}

.tlg-local-wrap .panel p:last-child{
  margin-bottom:0;
}
/* ===== Shared team grid ===== */
.tlg-local-wrap .teamGrid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
  align-items:stretch;
}

.tlg-local-wrap .card{
  border:1px solid var(--border);
  background: rgba(255,255,255,.035);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding:18px 18px 16px;
  min-height:100%;
  display:flex;
  flex-direction:column;
}

.tlg-local-wrap .avatar{
  width:78px;
  height:78px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  margin-bottom:16px;
}

.tlg-local-wrap .avatar img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.tlg-local-wrap .name{
  margin:0 0 6px;
  font-size:18px;
  font-weight:900;
  line-height:1.2;
  color:var(--text);
}

.tlg-local-wrap .role{
  margin:0 0 14px;
  font-size:14px;
  font-weight:800;
  line-height:1.35;
  color:var(--text);
}

.tlg-local-wrap .bio{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.55;
}

.tlg-local-wrap .cardFooter{
  margin-top:auto;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
  color:var(--text);
  font-size:13px;
  font-weight:700;
  line-height:1.45;
}

@media (max-width: 1100px){
  .tlg-local-wrap .teamGrid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 700px){
  .tlg-local-wrap .teamGrid{
    grid-template-columns:1fr;
  }
}
/* ===== Shared values grid ===== */
.tlg-local-wrap .values{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:16px;
  align-items:stretch;
}

.tlg-local-wrap .valueCard{
  border:1px solid var(--border);
  background: rgba(255,255,255,.035);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding:18px 18px 20px;
  min-height:100%;
  position:relative;
  overflow:hidden;
  text-align:center;
}

.tlg-local-wrap .valueCard::before{
  content:"";
  position:absolute;
  inset:auto auto -30px -20px;
  width:140px;
  height:140px;
  border-radius:50%;
  background: radial-gradient(circle at 30% 30%, rgba(109,123,255,.20), transparent 65%);
  pointer-events:none;
}

.tlg-local-wrap .valueIcon{
  width:54px;
  height:54px;
  margin:0 auto 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  line-height:1;
}

.tlg-local-wrap .valueCard h3{
  margin:0 0 12px;
  font-size:18px;
  line-height:1.2;
  color:var(--text);
}

.tlg-local-wrap .valueCard p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
}

/* ===== Story cards text tidy ===== */
.tlg-local-wrap .impactCard p{
  margin:0 0 14px;
}

.tlg-local-wrap .impactCard p:last-child{
  margin-bottom:0;
}

@media (max-width: 1200px){
  .tlg-local-wrap .values{
    grid-template-columns:repeat(3, 1fr);
  }
}

@media (max-width: 800px){
  .tlg-local-wrap .values{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width: 560px){
  .tlg-local-wrap .values{
    grid-template-columns:1fr;
  }
}
/* ===== Shared 2-column panel grid ===== */
.tlg-local-wrap .grid2{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:18px;
  align-items:stretch;
}

.tlg-local-wrap .grid2 .panel{
  margin:0;
}

@media (max-width: 900px){
  .tlg-local-wrap .grid2{
    grid-template-columns:1fr;
  }
}
/* =========================================================
   GLOBAL FOOTER - TLG dark style
   ADD NEW at bottom of tlg-page-1502.css
========================================================= */

.site-above-footer-wrap{
  background:
    radial-gradient(900px 520px at 10% 10%, rgba(109,123,255,.35), transparent 60%),
    radial-gradient(900px 520px at 90% 30%, rgba(37,208,171,.22), transparent 60%),
    #0b1220;
  border-top: 0;
  padding-top: 42px;
  padding-bottom: 42px;
}

.site-above-footer-wrap .ast-builder-grid-row-container-inner{
  max-width:1500px !important;
  margin:0 auto !important;
  padding-left:2px !important;
  padding-right:2px !important;
}


.site-above-footer-wrap .site-footer-above-section-1,
.site-above-footer-wrap .site-footer-above-section-2,
.site-above-footer-wrap .site-footer-above-section-3{
  display: flex;
}

.site-above-footer-wrap .footer-widget-area{
  width: 100%;
  display: flex;
}

.site-above-footer-wrap .ast-header-html,
.site-above-footer-wrap .ast-builder-html-element,
.site-above-footer-wrap .footer-card{
  width: 100%;
  display: flex;
  flex-direction: column;
}

.site-above-footer-wrap .site-footer-above-section-1,
.site-above-footer-wrap .site-footer-above-section-2,
.site-above-footer-wrap .site-footer-above-section-3{
  padding-left: 12px;
  padding-right: 12px;
}

.site-above-footer-wrap .ast-builder-html-element{
  background: linear-gradient(180deg, rgba(17,30,47,0.92) 0%, rgba(12,24,40,0.92) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 26px 24px;
  min-height: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}

.site-above-footer-wrap h3,
.site-above-footer-wrap h4{
  color: #ffffff !important;
  margin: 0 0 16px;
  line-height: 1.25;
}

.site-above-footer-wrap p,
.site-above-footer-wrap li,
.site-above-footer-wrap strong,
.site-above-footer-wrap span{
  color: rgba(255,255,255,0.88);
}

.site-above-footer-wrap a{
  color: #7dd3fc;
  text-decoration: none;
}

.site-above-footer-wrap a:hover{
  color: #ffffff;
  text-decoration: underline;
}

.site-above-footer-wrap ul{
  margin: 0 0 18px 18px;
  padding: 0;
}

.site-above-footer-wrap li{
  margin-bottom: 8px;
}

.site-above-footer-wrap hr{
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  margin: 18px 0;
}

.site-above-footer-wrap .footer-small{
  font-size: 14px;
  color: rgba(255,255,255,0.78);
}

@media (max-width: 921px){
  .site-above-footer-wrap{
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .site-above-footer-wrap .site-footer-above-section-1,
  .site-above-footer-wrap .site-footer-above-section-2,
  .site-above-footer-wrap .site-footer-above-section-3{
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 18px;
  }

  .site-above-footer-wrap .ast-builder-html-element{
    padding: 22px 18px;
  }
}
/* Equal-height footer columns */
.site-above-footer-wrap .site-above-footer-inner-wrap{
  display: flex;
  align-items: stretch;
}

.site-above-footer-wrap .site-footer-section{
  display: flex;
  align-items: stretch;
}

.site-above-footer-wrap .site-footer-section > div{
  width: 100%;
}

.site-above-footer-wrap .ast-builder-html-element{
  height: 100%;
}
/* Force each footer card to fill full column height */
.site-above-footer-wrap .footer-widget-area,
.site-above-footer-wrap .ast-header-html,
.site-above-footer-wrap .ast-builder-html-element,
.site-above-footer-wrap .footer-card{
  height: 100%;
}

.site-above-footer-wrap .footer-card{
  justify-content: space-between;
}
/* Make lower footer area match TLG page background */
.site-primary-footer-wrap,
.site-below-footer-wrap,
.ast-footer-copyright{
  background: linear-gradient(180deg, #020817 0%, #041028 100%) !important;
  border-top: 0 !important;
}

.site-primary-footer-wrap,
.site-below-footer-wrap{
  display: none !important;
}
/* Actual outer footer background */
footer#colophon.site-footer{
  background: linear-gradient(180deg, #041028 0%, #041028 100%) !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
}
/* =========================================================
   TLG HOME NEW
   ADD NEW at very bottom of tlg-page-1502.css
========================================================= */

.tlg-home-wrap{
  --home-bg:#0b1220;
  --home-card:#0f1a2e;
  --home-card-2:#101d33;
  --home-panel:rgba(255,255,255,.055);
  --home-border:rgba(255,255,255,.10);
  --home-text:#eaf0ff;
  --home-muted:#b9c6e4;
  --home-accent:#6d7bff;
  --home-accent2:#25d0ab;
  --home-shadow:0 18px 50px rgba(0,0,0,.35);
  --home-radius:22px;
  color:var(--home-text);
}

.tlg-home-wrap .container{
  max-width:1440px;
  margin:0 auto;
  padding:32px 18px 88px;
}

.tlg-home-wrap .home-section{
  margin-top:30px;
}

.tlg-home-wrap .home-section-heading{
  margin-bottom:16px;
}

.tlg-home-wrap .home-section-heading h2{
  margin:0 0 8px;
  color:#fff;
  font-size:clamp(28px,2.8vw,44px);
  line-height:1.08;
  letter-spacing:-.6px;
}

.tlg-home-wrap .home-section-heading p{
  margin:0;
  color:var(--home-muted);
  font-size:16px;
  line-height:1.55;
}

.tlg-home-wrap .home-hero{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(320px,.95fr);
  gap:22px;
  align-items:stretch;
}

.tlg-home-wrap .home-hero-main,
.tlg-home-wrap .home-hero-side,
.tlg-home-wrap .home-price-card,
.tlg-home-wrap .home-start-card,
.tlg-home-wrap .home-membership-card,
.tlg-home-wrap .home-demo-card,
.tlg-home-wrap .home-standalone-wrap{
  border:1px solid var(--home-border);
  background:linear-gradient(180deg, rgba(17,30,47,.95) 0%, rgba(12,24,40,.95) 100%);
  border-radius:var(--home-radius);
  box-shadow:var(--home-shadow);
}

.tlg-home-wrap .home-hero-main{
  padding:28px 28px 24px;
  position:relative;
  overflow:hidden;
}

.tlg-home-wrap .home-hero-main::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(700px 220px at 10% 0%, rgba(109,123,255,.22), transparent 62%),
    radial-gradient(500px 180px at 95% 100%, rgba(37,208,171,.10), transparent 60%);
  pointer-events:none;
}

.tlg-home-wrap .home-hero-main > *{
  position:relative;
  z-index:1;
}

.tlg-home-wrap .home-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:var(--home-muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.2px;
  margin-bottom:14px;
}

.tlg-home-wrap .home-hero h1{
  margin:0 0 12px;
  color:#fff;
  font-size:clamp(24px,3.2vw,42px);
  line-height:1.05;
  letter-spacing:-0.6px;
  max-width:18ch;
}

.tlg-home-wrap .home-lead{
  margin:0 0 18px;
  color:var(--home-muted);
  font-size:16px;
  line-height:1.55;
  max-width:62ch;
}

.tlg-home-wrap .home-btn-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  align-items:stretch;
  justify-content:stretch;
}

.tlg-home-wrap .home-card-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
}


.tlg-home-wrap .home-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:9px 14px;
  border-radius:14px;
  border:1px solid var(--home-border);
  background:rgba(255,255,255,.06);
  color:var(--home-text);
  text-decoration:none;
  font-weight:800;
  line-height:1.2;
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
}
.tlg-home-wrap .home-btn-row .home-btn{
  display:flex;
  width:100%;
  min-width:0;
  min-height:40px;
  padding:8px 10px;
  margin:0;
  justify-content:center;
  align-items:center;
  text-align:center;
  white-space:nowrap;
}


.tlg-home-wrap .home-btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.10);
  text-decoration:none;
}

.tlg-home-wrap .home-btn-primary{
  border-color:transparent;
  background:linear-gradient(135deg, var(--home-accent), var(--home-accent2));
  box-shadow:0 10px 26px rgba(109,123,255,.22);
}

.tlg-home-wrap .home-fineprint{
  margin:16px 0 0;
  color:rgba(234,240,255,.68);
  font-size:13px;
  line-height:1.5;
}

.tlg-home-wrap .home-hero-side{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:16px;
  align-items:stretch;
}

.tlg-home-wrap .home-side-badge,
.tlg-home-wrap .home-portal-pill,
.tlg-home-wrap .home-card-tag,
.tlg-home-wrap .home-plan-tag{
  display:inline-flex;
  align-items:center;
  padding:7px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-weight:800;
  font-size:13px;
  line-height:1.1;
}

.tlg-home-wrap .home-portal-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.tlg-home-wrap .home-portal-tile{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  border-radius:18px;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.tlg-home-wrap .home-portal-tile p{
  margin:0;
  color:var(--home-muted);
  font-size:14px;
  line-height:1.55;
}

.tlg-home-wrap .home-side-note{
  margin-top:16px;
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:16px;
  color:var(--home-muted);
  font-size:14px;
  line-height:1.6;
}


.tlg-home-wrap .home-side-note strong{
  color:#fff;
}

.tlg-home-wrap .home-card-grid{
  display:grid;
  gap:18px;
}

.tlg-home-wrap .home-card-grid-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.tlg-home-wrap .home-price-card,
.tlg-home-wrap .home-start-card,
.tlg-home-wrap .home-demo-card{
  padding:22px 20px;
  display:flex;
  flex-direction:column;
}

.tlg-home-wrap .home-price-card h3,
.tlg-home-wrap .home-start-card h3,
.tlg-home-wrap .home-demo-card h3{
  margin:10px 0 8px;
  color:#fff;
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.4px;
}

.tlg-home-wrap .home-price-card p,
.tlg-home-wrap .home-start-card p,
.tlg-home-wrap .home-demo-card p{
  margin:0 0 16px;
  color:var(--home-muted);
  font-size:15px;
  line-height:1.55;
}

.tlg-home-wrap .home-card-tag{
  width:max-content;
}

.tlg-home-wrap .home-card-tag-good{ color:#7ef1bf; }
.tlg-home-wrap .home-card-tag-warn{ color:#ffd87b; }
.tlg-home-wrap .home-card-tag-risk{ color:#ff9db0; }

.tlg-home-wrap .home-price-row,
.tlg-home-wrap .home-membership-price{
  display:flex;
  align-items:flex-end;
  gap:8px;
  margin:2px 0 12px;
}

.tlg-home-wrap .home-price,
.tlg-home-wrap .home-membership-amount,
.tlg-home-wrap .home-demo-stat{
  color:#fff;
  font-size:52px;
  line-height:1;
  font-weight:900;
  letter-spacing:-1.2px;
}

.tlg-home-wrap .home-price-suffix,
.tlg-home-wrap .home-membership-term{
  color:var(--home-muted);
  font-size:14px;
  font-weight:700;
  padding-bottom:8px;
}

.tlg-home-wrap .home-list,
.tlg-home-wrap .home-membership-list{
  margin:0;
  padding-left:18px;
  color:var(--home-muted);
}

.tlg-home-wrap .home-list li,
.tlg-home-wrap .home-membership-list li{
  margin:0 0 10px;
  line-height:1.55;
}

.tlg-home-wrap .home-price-card .home-card-actions{
  margin-top:auto;
  padding-top:12px;
  justify-content:center;
}

.tlg-home-wrap .home-start-card{
  min-height:100%;
}

.tlg-home-wrap .home-card-actions-stack{
  flex-direction:row;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}

.tlg-home-wrap .home-membership-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.tlg-home-wrap .home-membership-card{
  padding:22px 20px;
  display:flex;
  flex-direction:column;
  min-height:100%;
  position:relative;
  overflow:hidden;
}

.tlg-home-wrap .home-membership-card::before{
  content:"";
  position:absolute;
  inset:-60px -60px auto auto;
  width:220px;
  height:220px;
  border-radius:50%;
  background:radial-gradient(circle at 30% 30%, rgba(255,255,255,.10), transparent 60%);
  opacity:.8;
  pointer-events:none;
}

.tlg-home-wrap .home-membership-card > *{
  position:relative;
  z-index:1;
}

.tlg-home-wrap .home-membership-card-featured{
  border-color:rgba(109,123,255,.40);
  box-shadow:0 22px 60px rgba(0,0,0,.40), 0 0 0 1px rgba(109,123,255,.10) inset;
}

.tlg-home-wrap .home-membership-top{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:10px;
}

.tlg-home-wrap .home-plan-tag-green{
  color:#9af4cd;
}
.tlg-home-wrap .home-plan-tag-purple{
  color:#d5d9ff;
}
.tlg-home-wrap .home-plan-tag-dark{
  color:#ffe6ee;
}

.tlg-home-wrap .home-plan-name{
  color:#fff;
  font-size:18px;
  font-weight:900;
  line-height:1.3;
}

.tlg-home-wrap .home-membership-desc{
  margin:0 0 14px;
  color:var(--home-muted);
  font-size:15px;
  line-height:1.55;
}

.tlg-home-wrap .home-membership-card .home-card-actions{
  margin-top:auto;
  padding-top:14px;
}

.tlg-home-wrap .home-standalone-wrap{
  margin-top:20px;
  padding:22px 20px;
}

.tlg-home-wrap .home-standalone-head h3{
  margin:0 0 8px;
  color:#fff;
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.4px;
}

.tlg-home-wrap .home-standalone-head p{
  margin:0 0 16px;
  color:var(--home-muted);
  font-size:15px;
  line-height:1.55;
}

.tlg-home-wrap .home-table-wrap{
  overflow:auto;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  background:rgba(0,0,0,.10);
}

.tlg-home-wrap .home-services-table{
  width:100%;
  min-width:760px;
  border-collapse:collapse;
}

.tlg-home-wrap .home-services-table th,
.tlg-home-wrap .home-services-table td{
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.08);
  text-align:left;
  vertical-align:top;
  font-size:14px;
  line-height:1.55;
}

.tlg-home-wrap .home-services-table th{
  color:#fff;
  background:rgba(255,255,255,.04);
  font-size:13px;
  text-transform:none;
}

.tlg-home-wrap .home-services-table td{
  color:var(--home-muted);
}

.tlg-home-wrap .home-services-table td:last-child,
.tlg-home-wrap .home-services-table th:last-child{
  text-align:right;
  white-space:nowrap;
}

.tlg-home-wrap .home-demo-panel{
  border:1px solid rgba(255,255,255,.10);
  border-radius:26px;
  background:
    radial-gradient(420px 160px at 15% 40%, rgba(37,208,171,.14), transparent 62%),
    radial-gradient(420px 160px at 92% 12%, rgba(124,219,255,.16), transparent 55%),
    linear-gradient(180deg, rgba(17,30,47,.96), rgba(12,24,40,.96));
  box-shadow:var(--home-shadow);
  padding:18px;
}

.tlg-home-wrap .home-demo-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.tlg-home-wrap .home-demo-card{
  background:rgba(9,17,29,.30);
}

.tlg-home-wrap .home-demo-card .home-demo-stat{
  margin:4px 0 8px;
}

.tlg-home-wrap .home-demo-card .home-card-actions{
  margin-top:auto;
  padding-top:4px;
}

@media (max-width: 1100px){
  .tlg-home-wrap .home-hero{
    grid-template-columns:1fr;
  }

  .tlg-home-wrap .home-card-grid-3,
  .tlg-home-wrap .home-membership-grid,
  .tlg-home-wrap .home-demo-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 782px){
  .tlg-home-wrap .container{
    padding:24px 16px 72px;
  }

  .tlg-home-wrap .home-hero-main,
  .tlg-home-wrap .home-hero-side,
  .tlg-home-wrap .home-price-card,
  .tlg-home-wrap .home-start-card,
  .tlg-home-wrap .home-membership-card,
  .tlg-home-wrap .home-demo-card,
  .tlg-home-wrap .home-standalone-wrap{
    padding:18px 16px;
  }

  .tlg-home-wrap .home-portal-grid{
    grid-template-columns:1fr;
  }

  .tlg-home-wrap .home-btn,
  .tlg-home-wrap .home-card-actions a{
    width:100%;
  }

  .tlg-home-wrap .home-card-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .tlg-home-wrap .home-hero h1{
    font-size:clamp(30px,8vw,42px);
  }

  .tlg-home-wrap .home-price,
  .tlg-home-wrap .home-membership-amount,
  .tlg-home-wrap .home-demo-stat{
    font-size:42px;
  }
}
/* TLG Home hero width fix */
.tlg-home-wrap .home-hero{
  grid-template-columns: minmax(0, 1.9fr) minmax(300px, 0.85fr) !important;
}

.tlg-home-wrap .home-hero-main{
  max-width: none !important;
}

.tlg-home-wrap .home-hero h1{
  max-width: none !important;
}
/* TLG Home section heading size fix */
.tlg-home-wrap .home-section h2,
.tlg-home-wrap .home-section-title{
  font-size: clamp(20px, 2.8vw, 24px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.5px !important;
  margin-bottom: 10px !important;
}
/* TLG Home hero equal-height tidy */
.tlg-home-wrap .home-hero-main{
  display:flex !important;
  flex-direction:column !important;
  min-height:100% !important;
}

.tlg-home-wrap .home-btn-row{
  margin-top:auto !important;
}

.tlg-home-wrap .home-fineprint{
  margin-top:12px !important;
}
/* TLG Home hero balance fix */
.tlg-home-wrap .home-hero{
  grid-template-columns: minmax(0, 1.35fr) minmax(420px, 1fr) !important;
  align-items: stretch !important;
}

.tlg-home-wrap .home-hero-main{
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.tlg-home-wrap .home-kicker{
  align-self: flex-start !important;
  width: auto !important;
}

.tlg-home-wrap .home-btn-row{
  margin-top: 18px !important;
}

.tlg-home-wrap .home-fineprint{
  margin-top: 10px !important;
}
/* TLG Home bottom demo/trial box size fix */
.tlg-home-wrap .home-demo-card h3{
  font-size: 20px !important;
  line-height: 1.12 !important;
  margin: 6px 0 8px !important;
}

.tlg-home-wrap .home-demo-card .home-demo-stat{
  font-size: clamp(24px, 3.6vw, 22px) !important;
  line-height: 1 !important;
  letter-spacing: -0.6px !important;
}
/* ===== TLG Services Standalones page ===== */
.tlg-services-wrap{
  position: relative;
  padding: 14px 0 34px;
  background:
    radial-gradient(900px 520px at 10% 120px, rgba(109,123,255,.35), transparent 60%),
    radial-gradient(900px 520px at 90% 220px, rgba(37,208,171,.22), transparent 60%),
    #0b1220;
}
.tlg-services-wrap .container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
.tlg-services-wrap .pageHero{padding:18px 0 10px;}
.tlg-services-wrap .section{padding: 18px 0;}
.tlg-services-wrap h1,
.tlg-services-wrap h2,
.tlg-services-wrap h3{
  color:#f3f7ff;
}
.tlg-services-wrap h1{
  margin:0 0 10px;
  font-size: clamp(34px, 5vw, 56px);
  line-height:1.04;
}
.tlg-services-wrap .h3{font-size:28px;margin:0 0 8px;}
.tlg-services-wrap .h4{font-size:22px;margin:0 0 8px;}
.tlg-services-wrap p{margin:0 0 10px;}
.tlg-services-wrap .muted{color:#b8c6e3;}
.tlg-services-wrap .small{font-size:13px;color:#aebddb;line-height:1.5;}
.tlg-services-wrap .label{
  display:block;
  font-size:13px;
  font-weight:700;
  color:#d9e6ff;
  margin:0 0 8px;
}
.tlg-services-wrap .card{
  background:linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.03) 100%);
  border:1px solid rgba(255,255,255,.10);
  border-radius:24px;
  box-shadow:none;
}
.tlg-services-wrap .cardPad{padding:18px;}
.tlg-services-wrap .serviceFilters{
  margin-top:18px;
  margin-bottom:18px;
}

.tlg-services-wrap .filtersRow{
  display:grid;
  grid-template-columns:1.35fr 1.7fr 1fr .75fr .75fr;
  gap:12px;
  align-items:end;
}
.tlg-services-wrap .filterBlock{min-width:0;}
.tlg-services-wrap .input,
.tlg-services-wrap .select{
  width:100%;
  min-height:48px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#eef4ff;
  font-size:16px;
}
.tlg-services-wrap .input::placeholder{color:rgba(238,244,255,.50);}
.tlg-services-wrap .select option{
  background:#0d1526;
  color:#eef4ff;
}
.tlg-services-wrap .pillGroup{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.tlg-services-wrap .pill{
  min-height:36px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  color:#eef4ff;
  cursor:pointer;
  font-size:14px;
}
.tlg-services-wrap .pill.is-active{
  background:rgba(255,255,255,.92);
  color:#0b1220;
  border-color:rgba(255,255,255,.92);
}
.tlg-services-wrap .filtersFooter{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:14px;
  flex-wrap:wrap;
}
.tlg-services-wrap .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:#f2f7ff;
  text-decoration:none;
  cursor:pointer;
}
.tlg-services-wrap .btn:hover{
  background:rgba(255,255,255,.08);
  text-decoration:none;
}
.tlg-services-wrap .btn-sm{
  min-height:40px;
  padding:8px 14px;
  font-size:14px;
}
.tlg-services-wrap .btn-primary{
  background:linear-gradient(135deg,#5c8dff 0%, #36d1c4 100%);
  color:#ffffff;
  border-color:transparent;
  box-shadow:0 12px 28px rgba(92,141,255,.18);
}
.tlg-services-wrap .btn-secondary{
  background:rgba(255,255,255,.04);
  color:#f2f7ff;
}
.tlg-services-wrap .notice{
  margin-bottom:0;
}
.tlg-services-wrap .notice .cardPad{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.tlg-services-wrap .servicesGrid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:0;
}
.tlg-services-wrap .serviceCard{
  height:100%;
}
.tlg-services-wrap .serviceTop{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
.tlg-services-wrap .serviceBadges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}
.tlg-services-wrap .chip,
.tlg-services-wrap .badge{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.04);
  color:#d9e6ff;
  font-size:13px;
}
.tlg-services-wrap .chipSoft{
  background:rgba(255,255,255,.03);
}
.tlg-services-wrap .pricePill{
  flex:0 0 auto;
  white-space:nowrap;
  font-weight:800;
  font-size:17px;
  color:#f8fbff;
  background:linear-gradient(135deg, rgba(42,87,188,.44), rgba(16,171,156,.26));
  border:1px solid rgba(81,145,255,.28);
  border-radius:16px;
  padding:10px 14px;
}
.tlg-services-wrap .serviceMetaRow{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin:12px 0;
  flex-wrap:wrap;
}
.tlg-services-wrap .badgesRow{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.tlg-services-wrap .metaBox{margin-top:12px;}
.tlg-services-wrap .metaLine{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.07);
}
.tlg-services-wrap .metaKey{font-size:13px;color:#b8c6e3;}
.tlg-services-wrap .metaVal{font-weight:800;color:#f4f8ff;}
.tlg-services-wrap .serviceActions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.tlg-services-wrap .emptyState{margin-top:18px;}
.tlg-services-wrap .is-highlight{
  outline:2px solid rgba(92,141,255,.35);
  outline-offset:2px;
}
.tlg-services-wrap .bullets{
  margin:10px 0 0;
  padding-left:18px;
}
.tlg-services-wrap .bullets li{
  margin:7px 0;
  color:#dbe7ff;
}

/* modal */
.tlg-services-wrap .modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}
.tlg-services-wrap .modal.is-open{display:block;}
.tlg-services-wrap .modalBackdrop{
  position:absolute;
  inset:0;
  background:rgba(3,8,18,.72);
}
.tlg-services-wrap .modalPanel{
  position:relative;
  width:min(760px, calc(100vw - 28px));
  margin:7vh auto;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, #0f1a31 0%, #0a1222 100%);
  box-shadow:0 30px 70px rgba(0,0,0,.45);
  color:#eef4ff;
  padding:20px;
}
.tlg-services-wrap .modalBody{
  max-height:70vh;
  overflow:auto;
  padding:8px 8px 0;
}
.tlg-services-wrap .modalBody h3,
.tlg-services-wrap .modalBody h4,
.tlg-services-wrap .modalBody p,
.tlg-services-wrap .modalBody li{
  color:#eef4ff;
}
.tlg-services-wrap .modalBody .muted,
.tlg-services-wrap .modalBody .small{
  color:#b8c6e3;
}
.tlg-services-wrap .modalClose{
  position:absolute;
  top:10px;
  right:12px;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#eef4ff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}
.modalOpen{overflow:hidden;}

@media (max-width: 1080px){
  .tlg-services-wrap .filtersRow{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width: 900px){
  .tlg-services-wrap .servicesGrid{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width: 720px){
  .tlg-services-wrap{padding-top:8px;}
  .tlg-services-wrap .pageHero{padding-top:8px;}
  .tlg-services-wrap .filtersRow,
  .tlg-services-wrap .servicesGrid{
    grid-template-columns:1fr;
  }
  .tlg-services-wrap .serviceTop,
  .tlg-services-wrap .serviceMetaRow,
  .tlg-services-wrap .notice .cardPad,
  .tlg-services-wrap .filtersFooter{
    align-items:flex-start;
    flex-direction:column;
  }
  .tlg-services-wrap .pricePill{
    width:auto;
  }
  .tlg-services-wrap .serviceActions .btn{
    width:100%;
  }
  .tlg-services-wrap .modalPanel{
    margin:5vh auto;
    padding:16px;
  }
}
/* ===== Services page tidy pass 1 ===== */
.tlg-services-wrap .container{
  max-width: 1440px;
}

.tlg-services-wrap h1{
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.06;
  margin: 0 0 8px;
}

.tlg-services-wrap .serviceFilters .cardPad{
  padding: 22px 18px;
}

.tlg-services-wrap .filtersRow{
  grid-template-columns: 1.5fr 1.9fr 1fr .9fr .9fr;
  gap: 14px;
  align-items: start;
}

.tlg-services-wrap .filterBlock{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tlg-services-wrap .pillGroup{
  align-items: center;
}

.tlg-services-wrap .filtersFooter{
  margin-top: 6px;
}

.tlg-services-wrap .servicesGrid{
  margin-top: 16px;
}
/* ===== Services page tidy pass 2 ===== */
.tlg-services-wrap h1{
  font-size: clamp(22px, 3.2vw, 38px);
  margin: 0 0 6px;
}

.tlg-services-wrap .pageHero{
  padding: 12px 0 0;
}

.tlg-services-wrap .serviceFilters .cardPad{
  padding: 16px 16px 12px;
}
.tlg-services-wrap .serviceFilters{
  margin-bottom:0 !important;
}

.tlg-services-wrap .filtersRow{
  grid-template-columns: 1.25fr 1.7fr .95fr .8fr .8fr;
  gap: 12px;
  align-items: end;
}

.tlg-services-wrap .pillGroup{
  flex-wrap: nowrap;
  gap: 8px;
}

.tlg-services-wrap .pill{
  min-height: 34px;
  padding: 6px 12px;
  font-size: 13px;
}

.tlg-services-wrap .filtersFooter{
  margin-top: 10px;
}

.tlg-services-wrap .pageHero + .section{
  padding-top: 0;
}

.tlg-services-wrap .notice{
  margin-bottom: 0;
}
.tlg-reviews-testimonials-page .tlg-testimonial-card {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 1px solid rgba(114, 140, 190, 0.32) !important;
}
/* =========================================
   TLG testimonial/review form
   Page: /tlg-add-a-testimonial-reviews/
========================================= */

.tlg-review-form-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.tlg-review-form-wrap form,
.tlg-review-form-wrap .strong-form,
.tlg-review-form-wrap .testimonial-form {
  width: 100%;
  max-width: 100%;
}

.tlg-review-form-wrap label,
.tlg-review-form-wrap .form-label,
.tlg-review-form-wrap .field-label,
.tlg-review-form-wrap .strong-form label {
  display: block;
  margin: 0 0 6px !important;
  color: #eef4ff !important;
  font-weight: 700;
}

.tlg-review-form-wrap .required,
.tlg-review-form-wrap .required-field,
.tlg-review-form-wrap .asterisk {
  color: #ff5c73 !important;
}

.tlg-review-form-wrap .form-field,
.tlg-review-form-wrap .field-wrap,
.tlg-review-form-wrap .strong-form p,
.tlg-review-form-wrap .strong-form div[class*="field"] {
  margin-bottom: 14px !important;
}

.tlg-review-form-wrap input[type="text"],
.tlg-review-form-wrap input[type="email"],
.tlg-review-form-wrap input[type="url"],
.tlg-review-form-wrap input[type="file"],
.tlg-review-form-wrap textarea,
.tlg-review-form-wrap select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  padding: 12px 14px;
}

.tlg-review-form-wrap textarea {
  min-height: 180px;
}

.tlg-review-form-wrap em,
.tlg-review-form-wrap small,
.tlg-review-form-wrap .description,
.tlg-review-form-wrap .after,
.tlg-review-form-wrap .field-description {
  display: block;
  margin-top: 4px !important;
  color: #d8e3f8 !important;
  opacity: 1 !important;
}
/* TLG testimonial form fixes: hide field asterisks + keep rating stars inline */

/* Hide the separate red asterisk above each field label */
.tlg-review-form-wrap .form-field > .required,
.tlg-review-form-wrap .field-wrap > .required,
.tlg-review-form-wrap .wpmtst-form-field > .required,
.tlg-review-form-wrap .strong-form-field > .required {
  display: none !important;
}

/* Keep the star rating choices on one line */
.tlg-review-form-wrap .form-field.rating label,
.tlg-review-form-wrap .field-wrap.rating label,
.tlg-review-form-wrap .wpmtst-rating label,
.tlg-review-form-wrap .star-rating label,
.tlg-review-form-wrap .rating label {
  display: inline-block !important;
  margin: 0 8px 0 0 !important;
  vertical-align: middle !important;
}
/* =========================================
   TLG testimonial form final tidy
   hide top required note + force rating inline
========================================= */

/* Hide the top "* Required" notice only */
.tlg-review-form-wrap .wpmtst-required,
.tlg-review-form-wrap .required-notice,
.tlg-review-form-wrap .strong-form-notice,
.tlg-review-form-wrap p.required,
.tlg-review-form-wrap .strong-form .required:first-child {
  display: none !important;
}

/* Force the rating stars to sit in one horizontal row */
.tlg-review-form-wrap .wpmtst-rating,
.tlg-review-form-wrap .star-rating,
.tlg-review-form-wrap .rating,
.tlg-review-form-wrap .stars,
.tlg-review-form-wrap .field-rating {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
}

.tlg-review-form-wrap .wpmtst-rating label,
.tlg-review-form-wrap .star-rating label,
.tlg-review-form-wrap .rating label,
.tlg-review-form-wrap .stars label,
.tlg-review-form-wrap .field-rating label {
  display: inline-flex !important;
  width: auto !important;
  margin: 0 !important;
  line-height: 1 !important;
}
/* =========================================
   TLG testimonial form - hard fix star row
========================================= */

.tlg-review-form-wrap .field-rating,
.tlg-review-form-wrap .wpmtst-rating,
.tlg-review-form-wrap .rating,
.tlg-review-form-wrap .stars {
  white-space: nowrap !important;
}

.tlg-review-form-wrap .field-rating > *,
.tlg-review-form-wrap .wpmtst-rating > *,
.tlg-review-form-wrap .rating > *,
.tlg-review-form-wrap .stars > * {
  display: inline-block !important;
  float: none !important;
  width: auto !important;
  margin: 0 8px 0 0 !important;
  vertical-align: middle !important;
}

.tlg-review-form-wrap .field-rating label,
.tlg-review-form-wrap .wpmtst-rating label,
.tlg-review-form-wrap .rating label,
.tlg-review-form-wrap .stars label {
  display: inline-block !important;
  float: none !important;
  width: auto !important;
  margin: 0 8px 0 0 !important;
  vertical-align: middle !important;
}

.tlg-review-form-wrap .field-rating br,
.tlg-review-form-wrap .wpmtst-rating br,
.tlg-review-form-wrap .rating br,
.tlg-review-form-wrap .stars br {
  display: none !important;
}
/* =========================================
   Strong Testimonials - exact star row fix
========================================= */

.tlg-review-form-wrap .strong-rating-wrapper fieldset#wpmtst_star_rating.strong-rating {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
}

.tlg-review-form-wrap .strong-rating-wrapper fieldset#wpmtst_star_rating.strong-rating label.star {
  display: inline-flex !important;
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  line-height: 1 !important;
}

.tlg-review-form-wrap .strong-rating-wrapper fieldset#wpmtst_star_rating.strong-rating input[type="radio"] {
  display: none !important;
}
/* =========================================
   TLG reviews list cards + avatar tidy
========================================= */

/* Review outer boxes */
.strong-view.default .testimonial,
.strong-view.default-style .testimonial,
.wpmtst-default .testimonial,
.wpmtst-default .wpmtst-testimonial {
  border: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

/* Inner review area */
.strong-view.default .testimonial-inner,
.strong-view.default-style .testimonial-inner,
.wpmtst-default .testimonial-inner,
.wpmtst-default .wpmtst-testimonial-inner {
  border: 0 !important;
  border-radius: 18px !important;
}

/* Avatar image */
.strong-view.default .testimonial-image img,
.strong-view.default-style .testimonial-image img,
.wpmtst-default .testimonial-image img,
.wpmtst-default .wpmtst-testimonial-image img,
.strong-view.default .wpmtst-testimonial-image img {
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}
/* =========================================
   TLG reviews avatar outer frame tidy
========================================= */

.strong-view.default .testimonial-image,
.strong-view.default-style .testimonial-image,
.wpmtst-default .testimonial-image,
.wpmtst-default .wpmtst-testimonial-image,
.strong-view.default .wpmtst-testimonial-image {
  border: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 14px !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.strong-view.default .testimonial-image img,
.strong-view.default-style .testimonial-image img,
.wpmtst-default .testimonial-image img,
.wpmtst-default .wpmtst-testimonial-image img,
.strong-view.default .wpmtst-testimonial-image img {
  display: block !important;
}
/* =========================================
   TLG reviews avatar - remove plugin white frame
========================================= */

/* Remove any default frame/background from avatar wrappers */
.strong-view.default .testimonial-image,
.strong-view.default .testimonial-image a,
.strong-view.default .testimonial-image span,
.strong-view.default-style .testimonial-image,
.strong-view.default-style .testimonial-image a,
.strong-view.default-style .testimonial-image span,
.wpmtst-default .testimonial-image,
.wpmtst-default .testimonial-image a,
.wpmtst-default .testimonial-image span,
.wpmtst-default .wpmtst-testimonial-image,
.wpmtst-default .wpmtst-testimonial-image a,
.wpmtst-default .wpmtst-testimonial-image span {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  outline: 0 !important;
}

/* Apply the new softer frame only once */
.strong-view.default .testimonial-image,
.strong-view.default-style .testimonial-image,
.wpmtst-default .testimonial-image,
.wpmtst-default .wpmtst-testimonial-image {
  border: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  display: inline-block !important;
}

/* Image itself: no white edge at all */
.strong-view.default .testimonial-image img,
.strong-view.default-style .testimonial-image img,
.wpmtst-default .testimonial-image img,
.wpmtst-default .wpmtst-testimonial-image img {
  display: block !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 12px !important;
  background: transparent !important;
}
/* TLG Meet the Team - premium card image + white text fix */
.tlg-team-premium .card{
  display:flex;
  flex-direction:column;
}

.tlg-team-premium .card .avatar{
  width:100%;
  max-width:none;
  height:310px !important;
  min-height:310px !important;
  margin:0 0 18px;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.03);
}

.tlg-team-premium .card .avatar img{
  display:block;
  width:100%;
  height:100% !important;
  min-height:310px !important;
  object-fit:cover;
  object-position:center 38%;
  border:0;
  border-radius:22px;
}

.tlg-team-premium .card .name,
.tlg-team-premium .card .role,
.tlg-team-premium .card .bio,
.tlg-team-premium .card .bio span,
.tlg-team-premium .card .cardFooter{
  color:#ffffff !important;
  font-family:inherit !important;
  opacity:1 !important;
}

.tlg-team-premium .card .role{
  text-transform:uppercase;
  letter-spacing:0.02em;
}

.tlg-team-premium .card .bio{
  line-height:1.75;
}

.tlg-team-premium .card .cardFooter{
  margin-top:auto;
}
.tlg-services-wrap .metaBox::before,
.tlg-services-wrap .metaLine::before,
.tlg-services-wrap .metaVal::before{
  content:none !important;
  display:none !important;
}
/* TLG Contact */
.tlg-contact-wrap{
  background:
    radial-gradient(900px 520px at 10% 120px, rgba(109,123,255,.35), transparent 60%),
    radial-gradient(900px 520px at 90% 220px, rgba(37,208,171,.22), transparent 60%),
    #0b1220;
}

.tlg-contact-wrap .pageHero{
  padding: 0px 0 0;
  min-height: 0;
}

.tlg-contact-wrap .section{
  padding-top: 0;
  margin-top: -6px;
}

.tlg-contact-wrap .pageHero .lead{
  margin: 0;
}

.tlg-contact-wrap .grid{
  display: grid;
}

.tlg-contact-wrap .grid.two{
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, .95fr);
  gap: 14px;
}

.tlg-contact-wrap .card{
  overflow: hidden;
}

.tlg-contact-wrap .hd{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.tlg-contact-wrap .hd .h2,
.tlg-contact-wrap .hd h2{
  margin: 0;
  font-size: 1.1rem;
}

.tlg-contact-wrap .bd{
  padding: 16px;
}

.tlg-contact-wrap .pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(12,22,54,.55);
  color: rgba(255,255,255,.82);
  font-size: .86rem;
  line-height: 1;
  white-space: nowrap;
}

.tlg-contact-wrap .input{
  width: 100%;
}

.tlg-contact-wrap textarea.input{
  min-height: 110px;
  resize: vertical;
}

.tlg-contact-wrap label.small{
  display: inline-block;
  margin: 0 0 6px;
}

.tlg-contact-wrap .btn.primary{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.tlg-contact-wrap .btn:not(.primary){
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.tlg-contact-wrap .hr{
  height: 1px;
  margin: 14px 0;
  background: rgba(255,255,255,.08);
}

.tlg-contact-wrap .notice{
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(45,186,255,.45);
  background: rgba(12,57,96,.28);
}

.tlg-contact-wrap #crm{
  margin-top: 14px;
}

@media (max-width: 980px){
  .tlg-contact-wrap .grid.two{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .tlg-contact-wrap .bd .grid[style*="grid-template-columns:1fr 1fr"]{
    grid-template-columns: 1fr !important;
  }

  .tlg-contact-wrap .hd{
    align-items: flex-start;
    flex-direction: column;
  }
}
.tlg-contact-wrap .pageHero .container{
  padding-top: 0 !important;
  padding-bottom: 2px !important;
}
.tlg-contact-wrap select.input,
.tlg-contact-wrap select.select{
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.9) 50%),
    linear-gradient(135deg, rgba(255,255,255,.9) 50%, transparent 50%) !important;
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px) !important;
  background-size: 6px 6px, 6px 6px !important;
  background-repeat: no-repeat !important;
  padding-right: 42px !important;
}
.tlg-contact-wrap #who{
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path d='M3 5l4 4 4-4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px 14px !important;
  padding-right: 42px !important;
}.tlg-contact-wrap .selectWrap{
  position: relative;
}

.tlg-contact-wrap .selectWrap .selectArrow{
  position: absolute;
  right: 14px;
  top: 39px;
  color: #0b1220;
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}

.tlg-contact-wrap .selectWrap select{
  padding-right: 42px !important;
}
.tlg-contact-wrap #crmPrefill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  padding: 10px 16px;
  font-size: 15px;
  line-height: 1.2;
  border-radius: 12px;
  margin: 0;
}

.tlg-contact-wrap .tlg-card #crmPrefill{
  float: left;
}
.tlg-contact-wrap button[type="submit"].is-loading{
  opacity: 0.78;
  cursor: wait;
}

.tlg-contact-wrap button[type="submit"].is-loading::after{
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  vertical-align: middle;
  animation: tlgSpin 0.7s linear infinite;
}

@keyframes tlgSpin{
  to{
    transform: rotate(360deg);
  }
}
.tlg-contact-wrap .tlg-success-message{
  margin-top: 18px;
}

.tlg-contact-wrap .tlg-success-message-inner{
  background: #0f766e;
  color: #ffffff;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.18);
}

.tlg-contact-wrap .tlg-success-message-inner h3{
  margin: 0 0 8px;
  color: #ffffff;
}

.tlg-contact-wrap .tlg-success-message-inner p{
  margin: 0;
  color: #ffffff;
}
.tlg-contact-wrap .tlg-success-message{
  min-height: 260px;
  display: none;
  align-items: center;
  justify-content: center;
}

.tlg-contact-wrap .tlg-success-message-inner{
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
/* TLG Packs top-right pills */
.tlg-packs-page .tlg-topbar{
  display:flex;
  justify-content:flex-end;
  align-items:flex-start;
  margin:0 0 24px;
}

.tlg-packs-page .tlg-packNav{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  width:100%;
}

.tlg-packs-page .tlg-packPill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:42px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  background:linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  color:#f4f7ff;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  line-height:1;
  box-shadow:0 10px 24px rgba(0,0,0,0.18);
  transition:all .2s ease;
}

.tlg-packs-page .tlg-packPill:hover{
  color:#fff;
  border-color:rgba(255,255,255,0.22);
  background:linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06));
  transform:translateY(-1px);
}

.tlg-packs-page .tlg-packDot{
  width:9px;
  height:9px;
  border-radius:50%;
  display:inline-block;
  flex:0 0 9px;
  background:linear-gradient(135deg, #7b8cff, #4aa3ff);
  box-shadow:0 0 0 4px rgba(74,163,255,0.16);
}

.tlg-packs-page .tlg-packDot.green{
  background:linear-gradient(135deg, #77ebb5, #46d18f);
  box-shadow:0 0 0 4px rgba(70,209,143,0.16);
}

.tlg-packs-page .tlg-packDot.gold{
  background:linear-gradient(135deg, #ffe08a, #f2c14e);
  box-shadow:0 0 0 4px rgba(242,193,78,0.16);
}

.tlg-packs-page .tlg-packDot.red{
  background:linear-gradient(135deg, #ffaaaa, #ff6b6b);
  box-shadow:0 0 0 4px rgba(255,107,107,0.16);
}

.tlg-packs-page .tlg-packJump{
  justify-content:center;
}

@media (max-width: 640px){
  .tlg-packs-page .tlg-topbar{
    justify-content:flex-start;
  }

  .tlg-packs-page .tlg-packNav{
    justify-content:flex-start;
  }
}

/* =========================================================
   TLG PACKS PAGE
   page id 1502 only
   ========================================================= */

.page-id-1502 .entry-content > .tlg-packs-page{
  max-width:1360px;
  margin:0 auto;
  padding:26px 18px 56px;
  color:#fff;
}

.page-id-1502 .tlg-packs-page{
  background:
    radial-gradient(900px 520px at 10% 10%, rgba(109,123,255,.18), transparent 60%),
    radial-gradient(900px 520px at 90% 30%, rgba(37,208,171,.12), transparent 60%);
}

/* top pills */
.page-id-1502 .tlg-topbar{
  display:flex;
  justify-content:flex-end;
  margin:0 0 22px;
}

.page-id-1502 .tlg-packNav{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:flex-end;
}

.page-id-1502 .tlg-packPill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 16px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(255,255,255,.04);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  line-height:1.2;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
}

.page-id-1502 .tlg-packPill:hover{
  background:rgba(255,255,255,.08);
  color:#fff;
}

/* hero */
.page-id-1502 .tlg-hero{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(320px,.85fr);
  gap:22px;
  align-items:stretch;
  margin:0 0 18px;
}

.page-id-1502 .tlg-heroCard{
  border-radius:22px;
  background:linear-gradient(180deg, rgba(17,30,47,.95) 0%, rgba(12,24,40,.95) 100%);
  padding:26px;
  box-shadow:0 14px 35px rgba(0,0,0,.35);
}

.page-id-1502 .tlg-sideCard{
  border-radius:22px;
  background:#f3f6fb;
  padding:26px;
  box-shadow:0 14px 35px rgba(0,0,0,.18);
  color:#1d2939;
}

.page-id-1502 .tlg-sideCard h3{
  margin:0 0 10px;
  color:#1d2939;
  font-size:22px;
}

.page-id-1502 .tlg-sideCard p{
  margin:0;
  color:#475467;
}

/* headings/text */
.page-id-1502 .tlg-packs-page h1{
  margin:0 0 12px;
  color:#fff;
  font-size:clamp(34px,5vw,58px);
  line-height:1.04;
  letter-spacing:-.02em;
}

.page-id-1502 .tlg-packs-page h2{
  margin:0 0 8px;
  color:#fff;
  font-size:clamp(28px,3.2vw,38px);
  line-height:1.1;
  letter-spacing:-.01em;
}

.page-id-1502 .tlg-packs-page h3{
  margin:0 0 10px;
  color:#101828;
  font-size:24px;
  line-height:1.2;
}

.page-id-1502 .tlg-packs-page p{
  color:#cdd6e7;
  line-height:1.7;
}

.page-id-1502 .tlg-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  margin:0 0 14px;
}

.page-id-1502 .tlg-badge.good{
  background:rgba(255,255,255,.1);
  color:#fff;
}

.page-id-1502 .tlg-badge.warn{
  background:#fff4e5;
  color:#b54708;
}

.page-id-1502 .tlg-badge.risk{
  background:#fee4e2;
  color:#b42318;
}

/* callouts */
.page-id-1502 .tlg-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin:0 0 26px;
}

.page-id-1502 .tlg-callout{
  border-radius:18px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  padding:16px 18px;
  color:#d7dfef;
  line-height:1.65;
}

.page-id-1502 .tlg-callout strong{
  color:#fff;
}

/* section head */
.page-id-1502 .tlg-sectionHead{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin:34px 0 18px;
}

.page-id-1502 .tlg-sectionHead p{
  margin:0;
}

/* cards grid */
.page-id-1502 .tlg-grid3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin:0 0 28px;
}

.page-id-1502 .tlg-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  border-radius:22px;
  background:#fff;
  padding:22px;
  box-shadow:0 14px 35px rgba(0,0,0,.22);
}

.page-id-1502 .tlg-card > * + *{
  margin-top:14px;
}

.page-id-1502 .tlg-card p,
.page-id-1502 .tlg-card li,
.page-id-1502 .tlg-card .tlg-per,
.page-id-1502 .tlg-card .tlg-kicker{
  color:#475467;
}

.page-id-1502 .tlg-kicker{
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.page-id-1502 .tlg-priceRow{
  display:flex;
  align-items:end;
  gap:10px;
}

.page-id-1502 .tlg-price{
  color:#101828;
  font-size:32px;
  font-weight:800;
  line-height:1;
}

.page-id-1502 .tlg-per{
  font-size:14px;
  line-height:1.2;
}

.page-id-1502 .tlg-list{
  margin:0;
  padding-left:18px;
}

.page-id-1502 .tlg-list li{
  margin:0 0 8px;
  line-height:1.55;
}

.page-id-1502 .tlg-tagRow{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.page-id-1502 .tlg-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 12px;
  border-radius:999px;
  background:#eef2ff;
  color:#1e3a8a;
  font-size:13px;
  font-weight:700;
}

.page-id-1502 .tlg-cardFooter{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:auto;
  padding-top:4px;
}

/* buttons */
.page-id-1502 .tlg-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  font-size:15px;
  line-height:1.2;
  border:1px solid transparent;
}

.page-id-1502 .tlg-btnPrimary{
  background:#4f7db3;
  border-color:#4f7db3;
  color:#fff;
}

.page-id-1502 .tlg-btnPrimary:hover{
  background:#416d9f;
  border-color:#416d9f;
  color:#fff;
}

.page-id-1502 .tlg-btnSecondary{
  background:#fff;
  border-color:#d0d5dd;
  color:#101828;
}

.page-id-1502 .tlg-btnSecondary:hover{
  background:#f8fafc;
  color:#101828;
}

/* faq */
.page-id-1502 .tlg-faq{
  display:grid;
  gap:12px;
}

.page-id-1502 .tlg-faqItem{
  border-radius:18px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  overflow:hidden;
}

.page-id-1502 .tlg-faqItem summary{
  cursor:pointer;
  list-style:none;
  padding:18px 18px;
  color:#fff;
  font-weight:700;
}

.page-id-1502 .tlg-faqItem summary::-webkit-details-marker{
  display:none;
}

.page-id-1502 .tlg-faqBody{
  padding:0 18px 18px;
  color:#d7dfef;
  line-height:1.65;
}

/* mobile */
@media (max-width: 1024px){
  .page-id-1502 .tlg-hero{
    grid-template-columns:1fr;
  }

  .page-id-1502 .tlg-grid3{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 767px){
  .page-id-1502 .entry-content > .tlg-packs-page{
    padding-left:16px;
    padding-right:16px;
  }

  .page-id-1502 .tlg-topbar,
  .page-id-1502 .tlg-packNav{
    justify-content:flex-start;
  }

  .page-id-1502 .tlg-split,
  .page-id-1502 .tlg-grid3{
    grid-template-columns:1fr;
  }

  .page-id-1502 .tlg-sectionHead{
    flex-direction:column;
    align-items:flex-start;
  }
}
/* PACKS PAGE - force working grid layout */
.tlg-local-wrap .grid.grid-3{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
  align-items:stretch;
}

.tlg-local-wrap .grid.grid-2{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
  align-items:stretch;
}

.tlg-local-wrap .card{
  height:100%;
}

@media (max-width: 1024px){
  .tlg-local-wrap .grid.grid-3{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px){
  .tlg-local-wrap .grid.grid-3,
  .tlg-local-wrap .grid.grid-2{
    grid-template-columns:1fr;
  }
}
/* PACKS PAGE - fix card top labels */
.tlg-local-wrap .card .eyebrow{
  display:inline-flex;
  align-self:flex-start;
  width:auto;
  max-width:max-content;
  white-space:nowrap;
}
/* PACKS PAGE - force small eyebrow pills inside cards */
.tlg-local-wrap .grid.grid-3 .card > .eyebrow{
  display:inline-flex !important;
  align-self:flex-start !important;
  flex:0 0 auto !important;
  width:auto !important;
  max-width:max-content !important;
  white-space:nowrap !important;
  padding:4px 10px !important;
}
/* TLG Packs page - scoped layout */
.tlg-local-wrap .tlg-packs-scope{
  --bg:#070b14;
  --panel:rgba(255,255,255,0.06);
  --panel2:rgba(255,255,255,0.08);
  --stroke:rgba(255,255,255,0.12);
  --text:rgba(255,255,255,0.92);
  --muted:rgba(255,255,255,0.70);
  --muted2:rgba(255,255,255,0.55);
  --accent:#6a7cff;
  --accent2:#4aa3ff;
  --good:#46d18f;
  --warn:#ffcc66;
  --risk:#ff6b6b;
  --shadow:0 22px 60px rgba(0,0,0,0.45);
  --radius:22px;
  --max:1120px;
  color:var(--text);
}

.tlg-local-wrap .tlg-packs-scope{max-width:var(--max);margin:0 auto;padding:32px 20px 80px;}
.tlg-local-wrap .tlg-packs-scope .topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0 24px;}
.tlg-local-wrap .tlg-packs-scope .brand{min-width:1px;flex:1 1 auto;}
.tlg-local-wrap .tlg-packs-scope .nav{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.tlg-local-wrap .tlg-packs-scope .chip{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,0.03);
  padding:8px 12px 8px 28px;
  border-radius:999px;
  color:var(--muted);
  text-decoration:none;
  font-size:13px;
  position:relative;
}
.tlg-local-wrap .tlg-packs-scope .chip::before{
  content:"";
  position:absolute;
  left:12px;
  top:50%;
  width:8px;
  height:8px;
  border-radius:50%;
  transform:translateY(-50%);
  background:linear-gradient(135deg, rgba(106,124,255,1), rgba(74,163,255,1));
  box-shadow:0 0 0 3px rgba(106,124,255,0.12);
}
.tlg-local-wrap .tlg-packs-scope .hero{
  display:grid;
  grid-template-columns:1.3fr 0.7fr;
  gap:22px;
  align-items:stretch;
  margin:10px 0 28px;
}
.tlg-local-wrap .tlg-packs-scope .heroCard{
  border:1px solid var(--stroke);
  background:linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:26px;
  position:relative;
  overflow:hidden;
}
.tlg-local-wrap .tlg-packs-scope .heroCard:before{
  content:"";
  position:absolute; inset:-1px;
  background:radial-gradient(700px 240px at 20% 0%, rgba(106,124,255,0.25), transparent 60%);
  pointer-events:none;
}
.tlg-local-wrap .tlg-packs-scope .hero h1{
  margin:0 0 10px;
  font-size:clamp(28px, 3.2vw, 44px);
  line-height:1.1;
  position:relative;
  color:var(--text);
}
.tlg-local-wrap .tlg-packs-scope .hero p{
  margin:0 0 18px;
  color:var(--muted);
  font-size:15.5px;
  position:relative;
  max-width:62ch;
}
.tlg-local-wrap .tlg-packs-scope .ctaRow{display:flex;gap:12px;flex-wrap:wrap;position:relative;}
.tlg-local-wrap .tlg-packs-scope .btn{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,0.04);
  color:var(--text);
  padding:11px 14px;
  border-radius:14px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:600;
  font-size:14px;
  line-height:1.2;
}
.tlg-local-wrap .tlg-packs-scope .btnPrimary{
  background:linear-gradient(135deg, rgba(106,124,255,1), rgba(74,163,255,1));
  border-color:transparent;
  box-shadow:0 14px 40px rgba(106,124,255,0.28);
}
.tlg-local-wrap .tlg-packs-scope .btnGhost{background:rgba(255,255,255,0.03);}
.tlg-local-wrap .tlg-packs-scope .aside{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,0.03);
  border-radius:var(--radius);
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:100%;
}
.tlg-local-wrap .tlg-packs-scope .aside h3{margin:0 0 6px;font-size:14px;color:var(--muted);}
.tlg-local-wrap .tlg-packs-scope .aside .stat{font-size:24px;font-weight:800;margin:0 0 10px;color:var(--text);}
.tlg-local-wrap .tlg-packs-scope .aside p{margin:0;color:var(--muted2);font-size:13px;}
.tlg-local-wrap .tlg-packs-scope .sectionTitle{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin:38px 0 14px;
}
.tlg-local-wrap .tlg-packs-scope .sectionTitle h2{margin:0;font-size:18px;color:var(--text);}
.tlg-local-wrap .tlg-packs-scope .sectionTitle p{margin:0;color:var(--muted);font-size:13px;}
.tlg-local-wrap .tlg-packs-scope .bundleGrid,
.tlg-local-wrap .tlg-packs-scope .grid3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.tlg-local-wrap .tlg-packs-scope .split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.tlg-local-wrap .tlg-packs-scope .card{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,0.03);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 10px 32px rgba(0,0,0,0.20);
  display:flex;
  flex-direction:column;
}
.tlg-local-wrap .tlg-packs-scope .badge{
  display:inline-flex;align-items:center;gap:8px;border:1px solid var(--stroke);background:rgba(255,255,255,0.03);
  padding:6px 10px;border-radius:999px;font-size:12px;color:var(--muted);width:fit-content;margin-bottom:10px;
}
.tlg-local-wrap .tlg-packs-scope .badge.good{border-color:rgba(70,209,143,0.5);color:rgba(220,255,240,0.95);}
.tlg-local-wrap .tlg-packs-scope .badge.warn{border-color:rgba(255,204,102,0.55);color:rgba(255,240,210,0.95);}
.tlg-local-wrap .tlg-packs-scope .badge.risk{border-color:rgba(255,107,107,0.55);color:rgba(255,220,220,0.95);}
.tlg-local-wrap .tlg-packs-scope .kicker{color:var(--muted2);font-size:12px;letter-spacing:0.12em;text-transform:uppercase;}
.tlg-local-wrap .tlg-packs-scope .bundleCard h3,
.tlg-local-wrap .tlg-packs-scope .card h3{margin:10px 0 6px;color:var(--text);}
.tlg-local-wrap .tlg-packs-scope .bundleCard p,
.tlg-local-wrap .tlg-packs-scope .card p{margin:0 0 10px;color:var(--muted);font-size:13px;}
.tlg-local-wrap .tlg-packs-scope .priceRow{display:flex;align-items:baseline;gap:10px;margin:10px 0 6px;}
.tlg-local-wrap .tlg-packs-scope .price{font-size:44px;font-weight:900;letter-spacing:-0.6px;color:var(--text);}
.tlg-local-wrap .tlg-packs-scope .priceSm{font-size:34px;}
.tlg-local-wrap .tlg-packs-scope .per{color:var(--muted);font-weight:600;}
.tlg-local-wrap .tlg-packs-scope ul{margin:0;padding-left:18px;color:var(--muted);}
.tlg-local-wrap .tlg-packs-scope li{margin:7px 0;}
.tlg-local-wrap .tlg-packs-scope .tagRow{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 0;}
.tlg-local-wrap .tlg-packs-scope .tag{
  font-size:12px;padding:6px 10px;border-radius:999px;border:1px solid var(--stroke);color:var(--muted);background:rgba(255,255,255,0.02);
}
.tlg-local-wrap .tlg-packs-scope .cardFooter{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap;}
.tlg-local-wrap .tlg-packs-scope .btnSmall{padding:10px 12px;border-radius:12px;font-size:13px;}
.tlg-local-wrap .tlg-packs-scope .callout{
  border:1px dashed rgba(255,255,255,0.18);
  background:rgba(255,255,255,0.02);
  border-radius:var(--radius);
  padding:18px;
  color:var(--text);
}
.tlg-local-wrap .tlg-packs-scope .callout strong{display:block;margin-bottom:6px;}
.tlg-local-wrap .tlg-packs-scope .stack{display:grid;gap:12px;}
.tlg-local-wrap .tlg-packs-scope .faqItem{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,0.03);
  border-radius:var(--radius);
  overflow:hidden;
}
.tlg-local-wrap .tlg-packs-scope .faqItem summary{
  cursor:pointer;
  list-style:none;
  padding:18px;
  font-weight:700;
  color:var(--text);
}
.tlg-local-wrap .tlg-packs-scope .faqItem summary::-webkit-details-marker{display:none;}
.tlg-local-wrap .tlg-packs-scope .faqBody{padding:0 18px 18px;color:var(--muted);}

@media (max-width:980px){
  .tlg-local-wrap .tlg-packs-scope .hero{grid-template-columns:1fr;}
  .tlg-local-wrap .tlg-packs-scope .bundleGrid,
  .tlg-local-wrap .tlg-packs-scope .grid3,
  .tlg-local-wrap .tlg-packs-scope .split{grid-template-columns:1fr;}
  .tlg-local-wrap .tlg-packs-scope .nav{justify-content:flex-start;}
}
/* TLG Packs - width + top spacing + top pills tidy */
.tlg-local-wrap .tlg-packs-scope{
  max-width:1320px !important;
  padding-top:8px !important;
}

.tlg-local-wrap .tlg-packs-scope .topbar{
  padding:0 0 14px !important;
  margin:0 !important;
}

.tlg-local-wrap .tlg-packs-scope .nav{
  gap:12px !important;
}

.tlg-local-wrap .tlg-packs-scope .chip{
  min-height:44px !important;
  padding:10px 16px 10px 34px !important;
  border-radius:16px !important;
  font-size:14px !important;
  line-height:1.2 !important;
}

.tlg-local-wrap .tlg-packs-scope .chip::before{
  left:14px !important;
  width:9px !important;
  height:9px !important;
}

.tlg-local-wrap .tlg-packs-scope .hero,
.tlg-local-wrap .tlg-packs-scope .split,
.tlg-local-wrap .tlg-packs-scope .bundleGrid,
.tlg-local-wrap .tlg-packs-scope .grid3,
.tlg-local-wrap .tlg-packs-scope .sectionTitle{
  max-width:1320px !important;
}

@media (max-width: 767px){
  .tlg-local-wrap .tlg-packs-scope{
    padding-top:0 !important;
  }
}
/* TLG Packs - different colours for top pill dots */
.tlg-local-wrap .tlg-packs-scope .topbar .nav a:nth-child(1)::before{
  background:#2dd4bf !important;
  box-shadow:0 0 0 3px rgba(45,212,191,.14) !important;
}

.tlg-local-wrap .tlg-packs-scope .topbar .nav a:nth-child(2)::before{
  background:#6366f1 !important;
  box-shadow:0 0 0 3px rgba(99,102,241,.14) !important;
}

.tlg-local-wrap .tlg-packs-scope .topbar .nav a:nth-child(3)::before{
  background:#f59e0b !important;
  box-shadow:0 0 0 3px rgba(245,158,11,.14) !important;
}

.tlg-local-wrap .tlg-packs-scope .topbar .nav a:nth-child(4)::before{
  background:#fb7185 !important;
  box-shadow:0 0 0 3px rgba(251,113,133,.14) !important;
}
/* Meet the Team - top buttons to the right */
.tlg-local-wrap .topbar{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
}

.tlg-local-wrap .topbar .brand{
  flex:1 1 auto !important;
  min-width:1px !important;
}

.tlg-local-wrap .topbar .nav{
  margin-left:auto !important;
  display:flex !important;
  justify-content:flex-end !important;
  gap:12px !important;
  flex-wrap:wrap !important;
}
.heroPortalActions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

.heroPortalActions .btn{
  min-height:44px;
}
/* Home portal buttons - small pills under Deposits / Roles */
.heroPortalActions{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:12px !important;
  margin-top:18px !important;
  padding-top:0 !important;
  justify-content:center !important;
  align-items:center !important;
}

.heroPortalActions .btn{
  min-height:40px !important;
  padding:8px 16px !important;
  border-radius:999px !important;
  width:auto !important;
  min-width:0 !important;
  justify-content:center !important;
  text-align:center !important;
}

.heroPortalActions .btn.primary{
  background:linear-gradient(90deg,#6f86ff 0%, #2fd0c3 100%) !important;
}

.heroPortalActions .btn.btn-secondary{
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  color:#fff !important;
}

/* Site-wide desktop button consistency */
.tlg-local-wrap .btn,
.tlg-home-wrap .home-btn,
.tlg-services-wrap .btn,
.tlg-contact-wrap .btn,
.heroPortalActions .btn,
.tlg-membership-detail-main .ctaRow .btn{
  min-height:42px !important;
  padding:9px 14px !important;
  border-radius:14px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  justify-content:center !important;
  text-align:center !important;
}

.tlg-local-wrap .btn:hover,
.tlg-home-wrap .home-btn:hover,
.tlg-services-wrap .btn:hover,
.tlg-contact-wrap .btn:hover,
.heroPortalActions .btn:hover,
.tlg-membership-detail-main .ctaRow .btn:hover{
  transform:translateY(-1px);
}

@media (min-width: 783px){
  .tlg-home-wrap .home-btn-row,
  .tlg-home-wrap .home-card-actions,
  .tlg-local-wrap .planActions,
  .tlg-membership-detail-main .ctaRow,
  .heroPortalActions{
    flex-direction:row !important;
    flex-wrap:wrap !important;
  }

  .tlg-home-wrap .home-btn,
  .tlg-home-wrap .home-card-actions a,
  .tlg-local-wrap .btn,
  .tlg-services-wrap .btn,
  .tlg-contact-wrap .btn,
  .heroPortalActions .btn,
  .tlg-membership-detail-main .ctaRow .btn{
    width:auto !important;
  }
}
/* MEMBERSHIP PAGE â€” platform features block */
.tlg-membership-features{
  margin-top: 10px;
}

.tlg-features-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:18px;
}

.tlg-feature-card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.16);
}

.tlg-feature-card h3{
  margin:0 0 8px;
  color:#ffffff;
  font-size:18px;
  line-height:1.3;
}

.tlg-feature-card p{
  margin:0;
  color:rgba(255,255,255,.82);
  font-size:14px;
  line-height:1.6;
}

.tlg-feature-icon{
  width:34px;
  height:34px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
  font-weight:700;
  font-size:16px;
  background:rgba(109,123,255,.16);
  border:1px solid rgba(109,123,255,.35);
  color:#cfd5ff;
}

@media (max-width: 980px){
  .tlg-features-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width: 640px){
  .tlg-features-grid{
    grid-template-columns:1fr;
  }
}
/* MEMBERSHIP PAGE â€” savings calculator block */
.tlg-membership-savings{
  margin-top: 22px;
}

.tlg-savings-two{
  display:grid;
  grid-template-columns:1.05fr 1.2fr;
  gap:18px;
  align-items:start;
  margin-top:18px;
}

.tlg-calc-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:14px;
}

.tlg-calc-grid label{
  display:block;
  margin:0 0 6px;
  color:#ffffff;
  font-size:13px;
  font-weight:600;
}

.tlg-calc-grid input{
  width:100%;
  min-height:46px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:#ffffff;
  padding:0 14px;
  font-size:15px;
  box-sizing:border-box;
}

.tlg-calc-grid input:focus{
  outline:none;
  border-color:rgba(109,123,255,.55);
  box-shadow:0 0 0 3px rgba(109,123,255,.14);
}

.tlg-calc-results{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}

.tlg-calc-stat{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  padding:16px;
}

.tlg-calc-stat .k{
  color:rgba(255,255,255,.78);
  font-size:12px;
  margin-bottom:6px;
}

.tlg-calc-stat .v{
  color:#ffffff;
  font-size:26px;
  font-weight:800;
  line-height:1.2;
}

.tlg-calc-stat .s{
  color:rgba(255,255,255,.62);
  font-size:12px;
  margin-top:6px;
}

@media (max-width: 980px){
  .tlg-savings-two{
    grid-template-columns:1fr;
  }

  .tlg-calc-results{
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px){
  .tlg-calc-grid{
    grid-template-columns:1fr;
  }
}
/* MEMBERSHIP PAGE â€” details block */
.tlg-membership-details{
  margin-top: 22px;
}

.tlg-membership-details-grid{
  display:grid;
  grid-template-columns:1.15fr .95fr;
  gap:18px;
  align-items:start;
  margin-top:18px;
}

.tlg-membership-detail-main .priceTag,
.tlg-membership-detail-main .badge{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  border-radius:999px;
  padding:0 12px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
}

.tlg-membership-detail-main .priceTag{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:#ffffff;
}

.tlg-membership-detail-main .priceValue{
  margin-top:12px;
  color:#ffffff;
  font-size:40px;
  font-weight:800;
  line-height:1.1;
}

.tlg-membership-detail-main .badge{
  margin-top:12px;
  background:rgba(109,123,255,.14);
  border:1px solid rgba(109,123,255,.34);
  color:#cfd5ff;
}

#tlgPlanList{
  padding-left:18px;
  color:rgba(255,255,255,.86);
}

#tlgPlanList li{
  margin:0 0 10px;
  line-height:1.6;
}

.tlg-who-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:12px;
}

.tlg-mini-card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  padding:16px;
}

.tlg-mini-card h3{
  margin:0 0 8px;
  color:#ffffff;
  font-size:16px;
  line-height:1.3;
}

.tlg-mini-card p{
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:14px;
  line-height:1.55;
}

@media (max-width: 980px){
  .tlg-membership-details-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px){
  .tlg-who-grid{
    grid-template-columns:1fr;
  }
}
/* MEMBERSHIP PAGE â€” keep detail buttons side by side */
.tlg-membership-detail-main .ctaRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.tlg-membership-detail-main .ctaRow .btn{
  width:auto;
  display:inline-flex;
}

/* ===== Site-wide consistency pass ===== */
.tlg-local-wrap,
.tlg-home-wrap,
.tlg-services-wrap,
.tlg-contact-wrap,
.site-above-footer-wrap{
  --text:#ffffff;
  --muted:#ffffff;
  --border:rgba(255,255,255,.12);
  --panel-bg:linear-gradient(180deg, rgba(17,30,47,.95) 0%, rgba(12,24,40,.95) 100%);
  font-family:"Montserrat","Helvetica Neue",Arial,sans-serif !important;
  color:#ffffff !important;
}

.tlg-local-wrap h1,
.tlg-local-wrap h2,
.tlg-local-wrap h3,
.tlg-local-wrap h4,
.tlg-local-wrap h5,
.tlg-local-wrap h6,
.tlg-home-wrap h1,
.tlg-home-wrap h2,
.tlg-home-wrap h3,
.tlg-services-wrap h1,
.tlg-services-wrap h2,
.tlg-services-wrap h3,
.tlg-contact-wrap h1,
.tlg-contact-wrap h2,
.tlg-contact-wrap h3{
  font-family:"Montserrat","Helvetica Neue",Arial,sans-serif !important;
  color:#ffffff !important;
  font-weight:700 !important;
  letter-spacing:-.02em;
}

.tlg-local-wrap p,
.tlg-local-wrap li,
.tlg-local-wrap td,
.tlg-local-wrap th,
.tlg-local-wrap label,
.tlg-local-wrap .sub,
.tlg-local-wrap .price .per,
.tlg-local-wrap .planDesc,
.tlg-local-wrap .bullets li,
.tlg-local-wrap .small,
.tlg-local-wrap .footer,
.tlg-local-wrap .hero p,
.tlg-local-wrap .impactCard,
.tlg-local-wrap .impactCard p,
.tlg-local-wrap .panel p,
.tlg-local-wrap .table th,
.tlg-local-wrap .tlg-packs-scope .aside h3,
.tlg-local-wrap .tlg-packs-scope .sectionTitle p,
.tlg-local-wrap .tlg-packs-scope .eyebrow,
.tlg-local-wrap .tlg-packs-scope .card p,
.tlg-local-wrap .tlg-packs-scope .per,
.tlg-local-wrap .tlg-packs-scope ul,
.tlg-local-wrap .tlg-packs-scope .chip,
.tlg-local-wrap .tlg-packs-scope .faqBody,
.tlg-services-wrap p,
.tlg-services-wrap li,
.tlg-services-wrap .small,
.tlg-contact-wrap p,
.tlg-contact-wrap li,
.tlg-contact-wrap label,
.site-above-footer-wrap p,
.site-above-footer-wrap li,
.site-above-footer-wrap .footer-small{
  font-family:"Montserrat","Helvetica Neue",Arial,sans-serif !important;
  color:#ffffff !important;
  opacity:1 !important;
}

.tlg-local-wrap .plan,
.tlg-local-wrap .panel,
.tlg-local-wrap .hero,
.tlg-local-wrap .impactCard,
.tlg-local-wrap .table,
.tlg-local-wrap .compare,
.tlg-local-wrap .card,
.tlg-local-wrap .tier,
.tlg-local-wrap .faqItem,
.tlg-local-wrap .tlg-packs-scope .card,
.tlg-local-wrap .tlg-packs-scope .aside,
.tlg-services-wrap .card,
.tlg-services-wrap .modalCard,
.tlg-services-wrap .serviceCard,
.tlg-contact-wrap .panel,
.site-above-footer-wrap .footer-card{
  background:var(--panel-bg) !important;
  border:1px solid var(--border) !important;
  border-radius:22px !important;
  box-shadow:0 14px 35px rgba(0,0,0,.35) !important;
}

.tlg-local-wrap .table th,
.tlg-local-wrap .table td{
  color:#ffffff !important;
}

/* ===== Home page final alignment and colour clean-up ===== */
.tlg-home-wrap{
  --home-muted:#ffffff;
}

.tlg-home-wrap .home-section-heading p,
.tlg-home-wrap .home-kicker,
.tlg-home-wrap .home-lead,
.tlg-home-wrap .home-portal-tile p,
.tlg-home-wrap .home-side-note,
.tlg-home-wrap .home-price-card p,
.tlg-home-wrap .home-start-card p,
.tlg-home-wrap .home-demo-card p,
.tlg-home-wrap .home-price-suffix,
.tlg-home-wrap .home-membership-term,
.tlg-home-wrap .home-list,
.tlg-home-wrap .home-membership-list,
.tlg-home-wrap .home-membership-desc,
.tlg-home-wrap .home-standalone-head p,
.tlg-home-wrap .home-services-table td,
.tlg-home-wrap .home-fineprint{
  color:#ffffff !important;
  opacity:1 !important;
}

/* Right hero buttons: centered under the portal tiles */
.tlg-home-wrap .home-hero-side .heroPortalActions{
  width:100% !important;
  justify-content:center !important;
  align-items:center !important;
  align-self:center !important;
  margin-top:18px !important;
}

/* First row and box buttons: left aligned */
.tlg-home-wrap .home-price-card .home-card-actions,
.tlg-home-wrap .home-start-card .home-card-actions,
.tlg-home-wrap .home-demo-card .home-card-actions,
.tlg-home-wrap .home-membership-card .home-card-actions,
.tlg-home-wrap .home-standalone-wrap .home-card-actions{
  justify-content:flex-start !important;
  align-items:center !important;
}

.tlg-home-wrap .home-card-actions-stack{
  justify-content:flex-start !important;
  align-items:center !important;
}

/* Keep buttons inline on desktop */
@media (min-width: 783px){
  .tlg-home-wrap .home-btn-row,
  .tlg-home-wrap .home-card-actions,
  .tlg-home-wrap .home-hero-side .heroPortalActions{
    flex-direction:row !important;
    flex-wrap:wrap !important;
  }
}

/* Brighter, consistent pills */
.tlg-home-wrap .home-side-badge,
.tlg-home-wrap .home-portal-pill,
.tlg-home-wrap .home-card-tag,
.tlg-home-wrap .home-plan-tag{
  border-width:1px !important;
  background:rgba(255,255,255,.10) !important;
  color:#ffffff !important;
  box-shadow:0 0 0 1px rgba(255,255,255,.04) inset;
}

.tlg-home-wrap .home-portal-grid > :nth-child(1) .home-portal-pill{
  background:rgba(37,208,171,.18) !important;
  border-color:rgba(37,208,171,.42) !important;
  color:#7effd6 !important;
}

.tlg-home-wrap .home-portal-grid > :nth-child(2) .home-portal-pill{
  background:rgba(255,196,74,.18) !important;
  border-color:rgba(255,196,74,.42) !important;
  color:#ffd86a !important;
}

.tlg-home-wrap .home-portal-grid > :nth-child(3) .home-portal-pill{
  background:rgba(255,110,154,.18) !important;
  border-color:rgba(255,110,154,.42) !important;
  color:#ff9fbe !important;
}

.tlg-home-wrap .home-portal-grid > :nth-child(4) .home-portal-pill{
  background:rgba(67,235,255,.18) !important;
  border-color:rgba(67,235,255,.42) !important;
  color:#7cf6ff !important;
}

.tlg-home-wrap .home-card-tag-good{
  background:rgba(37,208,171,.18) !important;
  border-color:rgba(37,208,171,.42) !important;
  color:#7effd6 !important;
}

.tlg-home-wrap .home-card-tag-warn{
  background:rgba(255,196,74,.18) !important;
  border-color:rgba(255,196,74,.42) !important;
  color:#ffd86a !important;
}

.tlg-home-wrap .home-card-tag-risk{
  background:rgba(255,110,154,.18) !important;
  border-color:rgba(255,110,154,.42) !important;
  color:#ff9fbe !important;
}

.tlg-home-wrap .home-plan-tag-green{
  background:rgba(37,208,171,.18) !important;
  border-color:rgba(37,208,171,.42) !important;
  color:#7effd6 !important;
}

.tlg-home-wrap .home-plan-tag-purple{
  background:rgba(109,123,255,.18) !important;
  border-color:rgba(109,123,255,.42) !important;
  color:#cfd5ff !important;
}

.tlg-home-wrap .home-plan-tag-dark{
  background:rgba(255,110,154,.18) !important;
  border-color:rgba(255,110,154,.42) !important;
  color:#ffd9e4 !important;
}

/* ===== Home page screenshot alignment pass ===== */
@media (min-width: 1101px){
  .tlg-home-wrap .home-hero-main .home-btn-row{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:10px !important;
    align-items:stretch !important;
  }

  .tlg-home-wrap .home-hero-main .home-btn-row .home-btn{
    width:100% !important;
    min-width:0 !important;
    min-height:40px !important;
    padding:8px 10px !important;
    font-size:14px !important;
    white-space:nowrap !important;
  }
}

.tlg-home-wrap .home-hero-side .heroPortalActions{
  width:fit-content !important;
  max-width:100% !important;
  margin:18px auto 0 !important;
  justify-content:center !important;
}

.tlg-home-wrap .home-hero-side .heroPortalActions .btn{
  flex:0 0 auto !important;
  margin:0 !important;
}

.tlg-home-wrap .home-price-card,
.tlg-home-wrap .home-start-card,
.tlg-home-wrap .home-demo-card,
.tlg-home-wrap .home-membership-card,
.tlg-home-wrap .home-standalone-wrap{
  align-items:stretch !important;
  text-align:left !important;
}

.tlg-home-wrap .home-price-card .home-card-actions,
.tlg-home-wrap .home-start-card .home-card-actions,
.tlg-home-wrap .home-demo-card .home-card-actions,
.tlg-home-wrap .home-membership-card .home-card-actions,
.tlg-home-wrap .home-standalone-wrap .home-card-actions,
.tlg-home-wrap .home-card-actions-stack{
  width:100% !important;
  justify-content:flex-start !important;
  align-items:flex-start !important;
  align-self:stretch !important;
}

.tlg-home-wrap .home-price-card .home-card-actions .home-btn,
.tlg-home-wrap .home-start-card .home-card-actions .home-btn,
.tlg-home-wrap .home-demo-card .home-card-actions .home-btn,
.tlg-home-wrap .home-membership-card .home-card-actions .home-btn,
.tlg-home-wrap .home-standalone-wrap .home-card-actions .home-btn,
.tlg-home-wrap .home-card-actions-stack .home-btn,
.tlg-home-wrap .home-price-card .home-card-actions .btn,
.tlg-home-wrap .home-start-card .home-card-actions .btn,
.tlg-home-wrap .home-demo-card .home-card-actions .btn,
.tlg-home-wrap .home-membership-card .home-card-actions .btn,
.tlg-home-wrap .home-standalone-wrap .home-card-actions .btn,
.tlg-home-wrap .home-card-actions-stack .btn{
  width:auto !important;
  margin:0 !important;
  align-self:flex-start !important;
}

.tlg-home-wrap .home-membership-top{
  min-height:0 !important;
  align-content:start !important;
}

.tlg-home-wrap .home-membership-desc{
  min-height:0 !important;
}

.tlg-home-wrap .home-list,
.tlg-home-wrap .home-membership-list{
  margin:0 0 16px 0 !important;
  padding-left:18px !important;
}

.tlg-home-wrap .home-list li,
.tlg-home-wrap .home-membership-list li{
  margin:0 0 10px !important;
  line-height:1.55 !important;
}

.tlg-home-wrap .home-list li strong,
.tlg-home-wrap .home-membership-list li strong{
  display:inline !important;
}

@media (min-width: 783px){
  .tlg-home-wrap .home-hero-main .home-btn-row{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:8px !important;
    align-items:stretch !important;
  }

  .tlg-home-wrap .home-hero-main .home-btn-row .home-btn{
    display:flex !important;
    width:100% !important;
    min-width:0 !important;
    min-height:40px !important;
    padding:8px 10px !important;
    font-size:13px !important;
    white-space:nowrap !important;
    justify-content:center !important;
    align-items:center !important;
    margin:0 !important;
  }
}



/* ===== Consolidated from Astra Additional CSS ===== */
.feature-card{
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 30px rgba(0,0,0,.35);
  border-color:rgba(255,255,255,.25);
}

.tlg-icon-badge{
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:contain !important;
  width:44px;
  height:44px;
  overflow:visible;
}

.membership-item-row{
  display:flex;
  align-items:center;
  gap:12px;
}

.membership-item-icon{
  flex:0 0 44px;
}

.membership-item-text{
  display:flex;
  flex-direction:column;
  gap:4px;
  text-align:left;
}

.membership-item-text > :first-child{
  font-size:18px;
  font-weight:700;
  line-height:1.2;
  margin:0;
}

.membership-item-text > :last-child{
  font-size:14px;
  font-weight:400;
  line-height:1.3;
  opacity:.8;
  margin:0;
}

.main-header-menu .menu-button-primary > a,
.main-header-menu .menu-button-secondary > a{
  padding:10px 16px;
  border-radius:999px;
  font-weight:600;
  line-height:1;
  display:inline-flex;
  align-items:center;
  transition:
    transform .15s ease,
    filter .15s ease,
    background-color .15s ease,
    box-shadow .15s ease,
    border-color .15s ease;
}

.main-header-menu .menu-button-secondary > a{
  background:rgba(255,255,255,0.06);
  color:rgba(255,255,255,0.92) !important;
  border:1px solid rgba(255,255,255,0.18);
}

.main-header-menu .menu-button-secondary > a:hover{
  background:rgba(255,255,255,0.10);
  transform:translateY(-1px);
}

.main-header-menu .menu-button-primary > a{
  background:linear-gradient(90deg, #4f8cff 0%, #6d5bff 100%);
  color:#fff !important;
  border:1px solid rgba(255,255,255,0.12);
  box-shadow:0 10px 24px rgba(79,140,255,0.25);
}

.main-header-menu .menu-button-primary > a:hover{
  filter:brightness(1.06);
  transform:translateY(-1px);
  box-shadow:0 14px 32px rgba(109,91,255,0.35);
}

body.page-id-516 .kb-row-layout-wrap.kb-row-layout-id516_11adfd-aa{
  max-width:1200px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* ===== Footer structure sync ===== */
.site-above-footer-wrap .ast-builder-grid-row-container-inner{
  max-width:1500px !important;
  margin:0 auto !important;
  padding-left:8px !important;
  padding-right:8px !important;
}


.site-above-footer-wrap .ast-builder-grid-row,
.site-above-footer-wrap .site-above-footer-inner-wrap{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:24px !important;
  align-items:stretch !important;
}

.site-above-footer-wrap .site-footer-above-section-1,
.site-above-footer-wrap .site-footer-above-section-2,
.site-above-footer-wrap .site-footer-above-section-3,
.site-above-footer-wrap .site-footer-section{
  display:block !important;
  width:auto !important;
  min-width:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  margin:0 !important;
}

.site-above-footer-wrap .footer-widget-area,
.site-above-footer-wrap .ast-header-html,
.site-above-footer-wrap .ast-builder-html-element,
.site-above-footer-wrap .footer-card{
  width:100% !important;
  max-width:none !important;
}

@media (max-width: 921px){
  .site-above-footer-wrap .ast-builder-grid-row,
  .site-above-footer-wrap .site-above-footer-inner-wrap{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }

  .site-above-footer-wrap .ast-builder-grid-row-container-inner{
    padding-left:6px !important;
    padding-right:6px !important;
  }
}

/* ===== Membership matrix refresh ===== */
.tlg-local-wrap .tlg-matrix-section{
  margin-top:22px;
}

.tlg-local-wrap .tlg-matrix-head{
  margin-bottom:16px;
}

.tlg-local-wrap .tlg-matrix-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(37,208,171,.28);
  background:rgba(37,208,171,.10);
  color:#7effd6;
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
}

.tlg-local-wrap .tlg-matrix-title{
  margin:14px 0 10px;
  color:#ffffff;
  font-size:clamp(30px, 4vw, 48px);
  line-height:1.05;
  letter-spacing:-.7px;
}

.tlg-local-wrap .tlg-matrix-lead{
  margin:0;
  color:#ffffff;
  font-size:16px;
  line-height:1.6;
}

.tlg-local-wrap .tlg-matrix-wrap{
  overflow:auto;
  border:1px solid rgba(255,255,255,.10);
  border-radius:20px;
  background:linear-gradient(180deg, rgba(17,30,47,.95) 0%, rgba(12,24,40,.95) 100%);
  box-shadow:0 14px 35px rgba(0,0,0,.28);
}

.tlg-local-wrap .tlg-matrix-table{
  width:100%;
  min-width:920px;
  border-collapse:separate;
  border-spacing:0;
}

.tlg-local-wrap .tlg-matrix-table th,
.tlg-local-wrap .tlg-matrix-table td{
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.08);
  border-right:1px solid rgba(255,255,255,.06);
  vertical-align:top;
  text-align:left;
}

.tlg-local-wrap .tlg-matrix-table th:last-child,
.tlg-local-wrap .tlg-matrix-table td:last-child{
  border-right:0;
}

.tlg-local-wrap .tlg-matrix-table thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:rgba(255,255,255,.04);
  color:#ffffff;
  font-size:13px;
  font-weight:800;
}

.tlg-local-wrap .tlg-matrix-table tbody tr:last-child td,
.tlg-local-wrap .tlg-matrix-table tfoot td{
  border-bottom:0;
}

.tlg-local-wrap .tlg-matrix-feature{
  color:#ffffff;
  font-size:14px;
  font-weight:800;
  line-height:1.4;
}

.tlg-local-wrap .tlg-matrix-note{
  display:block;
  margin-top:4px;
  color:rgba(255,255,255,.72);
  font-size:12px;
  line-height:1.45;
}

.tlg-local-wrap .tlg-matrix-cell{
  color:#ffffff;
  font-size:14px;
  line-height:1.55;
}

.tlg-local-wrap .tlg-matrix-check{
  color:#9df6d2;
  font-weight:800;
}

.tlg-local-wrap .tlg-matrix-best{
  color:#ffffff;
  font-weight:700;
}

.tlg-local-wrap .tlg-plan-col{
  position:relative;
  transition:background-color .18s ease, box-shadow .18s ease;
}

.tlg-local-wrap .tlg-plan-col.is-active{
  background:rgba(109,123,255,.12) !important;
  box-shadow:inset 0 0 0 1px rgba(109,123,255,.35);
}

.tlg-local-wrap .tlg-plan-col.is-active::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  background:linear-gradient(180deg, #6d7bff 0%, #25d0ab 100%);
}

.tlg-local-wrap .tlg-matrix-table thead .tlg-plan-col.is-active{
  background:rgba(109,123,255,.18) !important;
}

.tlg-local-wrap .tlg-matrix-callout{
  margin-top:16px;
  border:1px solid rgba(37,208,171,.18);
  background:rgba(37,208,171,.08);
  border-radius:16px;
  padding:14px 16px;
  color:#ffffff;
  line-height:1.6;
}

.tlg-local-wrap .tlg-matrix-callout a{
  color:#7ef6ff;
  font-weight:700;
}

@media (max-width: 980px){
  .tlg-local-wrap .tlg-matrix-title{
    font-size:clamp(24px, 6vw, 38px);
  }
}

.tlg-local-wrap .tlg-plan-col.is-active-plan{
  background:rgba(109,123,255,.12) !important;
  box-shadow:inset 0 0 0 1px rgba(109,123,255,.35) !important;
}

.tlg-local-wrap .tlg-matrix-table thead .tlg-plan-col.is-active-plan{
  background:rgba(109,123,255,.18) !important;
}

.tlg-local-wrap .tlg-plan-col.is-active-plan::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  background:linear-gradient(180deg, #6d7bff 0%, #25d0ab 100%);
}

.tlg-local-wrap.tlg-matrix-page .container{
  padding-bottom:24px !important;
}

.tlg-local-wrap.tlg-matrix-page .home-membership-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.tlg-local-wrap.tlg-matrix-page .home-membership-card{
  padding:20px 20px 18px;
  display:flex;
  flex-direction:column;
  min-height:100%;
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(17,30,47,.95) 0%, rgba(12,24,40,.95) 100%);
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  box-shadow:0 14px 35px rgba(0,0,0,.35);
}

.tlg-local-wrap.tlg-matrix-page .home-membership-card::before{
  content:"";
  position:absolute;
  inset:-60px -60px auto auto;
  width:220px;
  height:220px;
  border-radius:50%;
  background:radial-gradient(circle at 30% 30%, rgba(255,255,255,.10), transparent 60%);
  opacity:.8;
  pointer-events:none;
}

.tlg-local-wrap.tlg-matrix-page .home-membership-card > *{
  position:relative;
  z-index:1;
}

.tlg-local-wrap.tlg-matrix-page .home-membership-card-featured{
  border-color:rgba(109,123,255,.40);
  box-shadow:0 22px 60px rgba(0,0,0,.40), 0 0 0 1px rgba(109,123,255,.10) inset;
}

.tlg-local-wrap.tlg-matrix-page .home-membership-top{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:2px;
}

.tlg-local-wrap.tlg-matrix-page .home-plan-tag{
  display:flex;
  align-items:center;
  width:100%;
  min-height:30px;
  padding:6px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.10);
  color:#ffffff;
  font-weight:800;
  font-size:13px;
  line-height:1.1;
  box-shadow:0 0 0 1px rgba(255,255,255,.04) inset;
}

.tlg-local-wrap.tlg-matrix-page .home-plan-tag-green{
  background:rgba(37,208,171,.18);
  border-color:rgba(37,208,171,.42);
  color:#7effd6;
}

.tlg-local-wrap.tlg-matrix-page .home-plan-tag-purple{
  background:rgba(109,123,255,.18);
  border-color:rgba(109,123,255,.42);
  color:#cfd5ff;
}

.tlg-local-wrap.tlg-matrix-page .home-plan-tag-dark{
  background:rgba(255,110,154,.18);
  border-color:rgba(255,110,154,.42);
  color:#ffd9e4;
}

.tlg-local-wrap.tlg-matrix-page .home-plan-name{
  color:#fff;
  font-size:18px;
  font-weight:900;
  line-height:1.28;
}

.tlg-local-wrap.tlg-matrix-page .home-membership-price{
  display:flex;
  align-items:flex-end;
  gap:8px;
  margin:6px 0 8px;
}

.tlg-local-wrap.tlg-matrix-page .home-membership-amount{
  color:#fff;
  font-size:52px;
  line-height:1;
  font-weight:900;
  letter-spacing:-1.2px;
}

.tlg-local-wrap.tlg-matrix-page .home-membership-term{
  color:#ffffff;
  font-size:14px;
  font-weight:700;
  padding-bottom:8px;
}

.tlg-local-wrap.tlg-matrix-page .home-membership-desc{
  margin:0 0 12px;
  font-size:15px;
  line-height:1.55;
}

.tlg-local-wrap.tlg-matrix-page .home-membership-list{
  margin:0;
  padding-left:18px;
}


.tlg-local-wrap.tlg-matrix-page .home-membership-list li{
  margin:0 0 10px;
  line-height:1.55;
}

.tlg-local-wrap.tlg-matrix-page .home-membership-list li strong{
  display:inline;
}

.tlg-local-wrap.tlg-matrix-page .home-card-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
  margin-top:auto;
  padding-top:12px;
}


.tlg-local-wrap.tlg-matrix-page .home-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:9px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#ffffff;
  text-decoration:none;
  font-weight:800;
  line-height:1.2;
}

.tlg-local-wrap.tlg-matrix-page .home-btn-primary{
  border-color:transparent;
  background:linear-gradient(135deg, #6d7bff, #25d0ab);
  box-shadow:0 10px 26px rgba(109,123,255,.22);
}

@media (max-width: 1100px){
  .tlg-local-wrap.tlg-matrix-page .home-membership-grid{
    grid-template-columns:1fr;
  }
}
body:has(.tlg-matrix-page) .site-above-footer-wrap{
  margin-top:-28px !important;
  padding-top:12px !important;
}
.tlg-services-wrap > .section{
  margin-top: 16px;
}

/* ===== Services filter panel tighten-up ===== */
.tlg-services-wrap .filtersRow{
  grid-template-columns:1.02fr 1.38fr .9fr .76fr .88fr auto !important;
  gap:10px !important;
  align-items:end !important;
}

.tlg-services-wrap .filterBlock-search .label-with-count{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
  margin-bottom:8px;
}

.tlg-services-wrap .filterBlock-search .label-with-count .label{
  margin:0;
}

.tlg-services-wrap .filterBlock-search #resultCount{
  margin:0;
  font-size:13px;
  white-space:nowrap;
}

.tlg-services-wrap .filterBlock-search{
  padding-top:6px;
}

.tlg-services-wrap #serviceSearch{
  max-width:286px;
  margin-top:0;
  position:relative;
  top:2px;
  min-height:36px !important;
  padding:7px 14px !important;
  border-radius:14px !important;
}

.tlg-services-wrap .filterBlock-clear{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.tlg-services-wrap .filterBlock-clear .label{
  display:block;
  min-height:18px;
  margin:0 0 8px;
}

.tlg-services-wrap .filterBlock-clear .btn{
  min-width:92px;
  justify-content:center;
}

.tlg-services-wrap .filtersFooter{
  display:none !important;
}

@media (max-width: 1100px){
  .tlg-services-wrap .filtersRow{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .tlg-services-wrap #serviceSearch{
    max-width:none;
  }
}

/* ===== Services filter panel tighten-up v2 ===== */
.tlg-services-wrap .filtersRow{
  grid-template-columns:.9fr 1.12fr .96fr .5fr .62fr auto !important;
  gap:8px !important;
}

.tlg-services-wrap .pillGroup{
  gap:4px !important;
}

.tlg-services-wrap .pill{
  min-height:32px !important;
  padding:6px 11px !important;
  font-size:12px !important;
}

.tlg-services-wrap #typeFilter{
  max-width:138px;
}

.tlg-services-wrap #sortFilter{
  max-width:168px;
}

.tlg-services-wrap .filterBlock-clear .btn{
  min-width:70px;
  min-height:40px;
  padding:8px 10px;
}
/* ===== Services mobile-only layout ===== */
@media (max-width: 820px){
  .tlg-services-wrap .serviceFilters .cardPad{
    padding:14px !important;
  }

  .tlg-services-wrap .filtersRow{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:12px !important;
    align-items:stretch !important;
  }

  .tlg-services-wrap .filterBlock,
  .tlg-services-wrap .filterBlock-search,
  .tlg-services-wrap .filterBlock-clear{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    padding-top:0 !important;
  }

  .tlg-services-wrap .filterBlock-search .label-with-count{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:4px !important;
    white-space:normal !important;
    margin-bottom:8px !important;
  }

  .tlg-services-wrap .filterBlock-search #resultCount{
    font-size:12px !important;
    white-space:normal !important;
  }

  .tlg-services-wrap #serviceSearch{
    position:static !important;
    top:auto !important;
    max-width:none !important;
    width:100% !important;
    margin:0 !important;
  }

  .tlg-services-wrap .pillGroup{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:8px !important;
  }

  .tlg-services-wrap .pill{
    min-height:34px !important;
    padding:6px 12px !important;
    font-size:13px !important;
  }

  .tlg-services-wrap #categoryFilter,
  .tlg-services-wrap #typeFilter,
  .tlg-services-wrap #sortFilter,
  .tlg-services-wrap .select{
    max-width:none !important;
    width:100% !important;
  }

  .tlg-services-wrap .filterBlock-clear .label{
    display:none !important;
  }

  .tlg-services-wrap .filterBlock-clear .btn{
    width:100% !important;
    min-width:0 !important;
  }
}
/* ===== above footer layout ===== */
@media (max-width: 820px){
  .site-above-footer-wrap{
    padding-top:20px !important;
    padding-bottom:20px !important;
  }

  .site-above-footer-wrap .ast-builder-grid-row-container-inner,
  .site-above-footer-wrap .ast-builder-grid-row,
  .site-above-footer-wrap .site-above-footer-inner-wrap{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    padding-left:0 !important;
    padding-right:6px !important;
  }

  .site-above-footer-wrap .ast-builder-grid-row > *,
  .site-above-footer-wrap .site-above-footer-inner-wrap > *,
  .site-above-footer-wrap .site-footer-section,
  .site-above-footer-wrap [class*="site-footer-above-section"],
  .site-above-footer-wrap [class*="ast-builder-layout-element"],
  .site-above-footer-wrap [class*="ast-footer-html"],
  .site-above-footer-wrap .footer-widget-area,
  .site-above-footer-wrap .widget,
  .site-above-footer-wrap .textwidget,
  .site-above-footer-wrap .ast-header-html,
  .site-above-footer-wrap .footer-block,
  .site-above-footer-wrap .footer-card{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    float:none !important;
    clear:both !important;
    box-sizing:border-box !important;
  }

  .site-above-footer-wrap .ast-builder-html-element{
  position:static !important;
  left:auto !important;
  transform:none !important;
  width:auto !important;
  max-width:none !important;
  margin:0 0 0 0 !important;
  padding:30px 20px !important;
  border-radius:18px !important;
  box-sizing:border-box !important;
}


  .site-above-footer-wrap h3,
  .site-above-footer-wrap h4{
    font-size:18px !important;
    line-height:1.25 !important;
    margin-bottom:12px !important;
  }

  .site-above-footer-wrap p,
  .site-above-footer-wrap li,
  .site-above-footer-wrap .footer-small{
    font-size:15px !important;
    line-height:1.6 !important;
  }
}
.main-header-menu .sub-menu{
  background:#152033 !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:16px !important;
  padding:10px 0 !important;
  min-width:240px !important;
  box-shadow:0 18px 40px rgba(0,0,0,.35) !important;
}

.main-header-menu .sub-menu li{
  background:transparent !important;
}

.main-header-menu .sub-menu a{
  color:#ffffff !important;
  padding:12px 16px !important;
  line-height:1.35 !important;
  background:transparent !important;
}

.main-header-menu .sub-menu a:hover,
.main-header-menu .sub-menu a:focus{
  background:rgba(255,255,255,.06) !important;
  color:#ffffff !important;
}

.main-header-menu .menu-item-has-children > .sub-menu{
  margin-top:0 !important;
}
.main-header-menu .sub-menu li{
  padding:0 8px !important;
}

.main-header-menu .sub-menu a{
  border-radius:10px !important;
}
@media (min-width: 1101px){
  .tlg-home-wrap .home-hero-main .home-btn-row,
  .tlg-home-wrap .home-hero-main .home-btn-row.home-card-actions{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:10px !important;
    align-items:stretch !important;
    width:100% !important;
  }

  .tlg-home-wrap .home-hero-main .home-btn-row > a,
  .tlg-home-wrap .home-hero-main .home-btn-row .home-btn,
  .tlg-home-wrap .home-hero-main .home-btn-row .btn{
    display:flex !important;
    width:100% !important;
    min-width:0 !important;
    min-height:40px !important;
    padding:8px 10px !important;
    font-size:14px !important;
    white-space:nowrap !important;
    justify-content:center !important;
    align-items:center !important;
    margin:0 !important;
  }
}
@media (min-width: 1101px){
  .tlg-home-wrap .home-hero-main .home-btn-row{
    display:grid !important;
    grid-template-columns:1fr 1fr 1fr !important;
    gap:10px !important;
    width:100% !important;
    margin:0 0 14px 0 !important;
  }

  .tlg-home-wrap .home-hero-main .home-btn-row .home-btn{
    display:flex !important;
    width:100% !important;
    min-width:0 !important;
    min-height:42px !important;
    padding:10px 12px !important;
    margin:0 !important;
    justify-content:center !important;
    align-items:center !important;
    text-align:center !important;
    white-space:nowrap !important;
  }
}
/* ===== Home hero final desktop fix ===== */
@media (min-width: 1101px){
  .tlg-home-wrap .home-hero-main{
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
  }

  .tlg-home-wrap .home-hero-main .home-btn-row{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:8px !important;
    width:100% !important;
    margin-top:18px !important;
    margin-bottom:14px !important;
    align-items:stretch !important;
    flex-wrap:unset !important;
  }

  .tlg-home-wrap .home-hero-main .home-btn-row .home-btn{
    display:flex !important;
    width:100% !important;
    min-width:0 !important;
    min-height:40px !important;
    padding:8px 10px !important;
    margin:0 !important;
    justify-content:center !important;
    align-items:center !important;
    text-align:center !important;
    white-space:nowrap !important;
    flex:none !important;
  }

  .tlg-home-wrap .home-hero-side .heroPortalActions{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    gap:12px !important;
    width:fit-content !important;
    max-width:100% !important;
    margin:18px auto 0 !important;
    align-self:center !important;
  }

  .tlg-home-wrap .home-hero-side .heroPortalActions .btn{
    margin:0 !important;
    flex:0 0 auto !important;
  }
}

/* ===== Kev home hero cleanup ===== */
@media (min-width: 783px){
  .tlg-home-wrap .home-hero-main .home-btn-row{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:8px !important;
    width:100% !important;
    margin-top:18px !important;
    margin-bottom:14px !important;
    align-items:stretch !important;
    justify-content:stretch !important;
    flex-wrap:unset !important;
  }

  .tlg-home-wrap .home-hero-main .home-btn-row .home-btn{
    display:flex !important;
    width:100% !important;
    min-width:0 !important;
    min-height:40px !important;
    padding:8px 10px !important;
    margin:0 !important;
    justify-content:center !important;
    align-items:center !important;
    text-align:center !important;
    white-space:nowrap !important;
    flex:none !important;
  }

  .tlg-home-wrap .home-hero-side{
    gap:12px !important;
  }

  .tlg-home-wrap .home-hero-side .heroPortalActions{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    gap:12px !important;
    width:fit-content !important;
    max-width:100% !important;
    margin:8px auto 0 !important;
    align-self:center !important;
  }

  .tlg-home-wrap .home-hero-side .heroPortalActions .btn{
    margin:0 !important;
    flex:0 0 auto !important;
  }
}

@media (min-width: 1101px){
  .tlg-home-wrap .home-hero{
    grid-template-columns:minmax(0, 1.7fr) minmax(320px, .9fr) !important;
    align-items:stretch !important;
  }

  .tlg-home-wrap .home-hero-main{
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
  }
}

/* ===== Kev home hero actual layout fix ===== */
.tlg-home-wrap .home-btn-row{
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:8px !important;
  align-items:stretch !important;
}

.tlg-home-wrap .home-btn-row > *{
  flex:1 1 0 !important;
  min-width:0 !important;
}

.tlg-home-wrap .home-btn-row > p:empty,
.tlg-home-wrap .home-btn-row > br{
  display:none !important;
}

.tlg-home-wrap .home-btn-row > p{
  display:contents !important;
  margin:0 !important;
  padding:0 !important;
}

.tlg-home-wrap .home-btn-row .home-btn{
  display:flex !important;
  width:100% !important;
  min-width:0 !important;
  min-height:40px !important;
  padding:8px 10px !important;
  margin:0 !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
  white-space:nowrap !important;
}

.tlg-home-wrap .home-hero-side .home-portal-grid{
  align-content:start !important;
  align-items:start !important;
  height:auto !important;
  flex:0 0 auto !important;
}

.tlg-home-wrap .home-hero-side .heroPortalActions{
  margin-top:8px !important;
}

/* ===== Kev packs card tidy ===== */
.tlg-local-wrap .tlg-packs-scope .bundleCard .kicker{
  display:inline-flex !important;
  align-items:center !important;
  width:fit-content !important;
  min-height:30px !important;
  padding:6px 14px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  background:rgba(255,255,255,.06) !important;
  color:#ffffff !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1.1 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  margin:0 0 12px 0 !important;
}

.tlg-local-wrap .tlg-packs-scope .bundleGrid > :nth-child(1) .kicker{
  background:rgba(37,208,171,.18) !important;
  border-color:rgba(37,208,171,.42) !important;
  color:#9af4cd !important;
}

.tlg-local-wrap .tlg-packs-scope .bundleGrid > :nth-child(2) .kicker{
  background:rgba(255,196,74,.18) !important;
  border-color:rgba(255,196,74,.42) !important;
  color:#ffe3a0 !important;
}

.tlg-local-wrap .tlg-packs-scope .bundleGrid > :nth-child(3) .kicker{
  background:rgba(255,110,154,.18) !important;
  border-color:rgba(255,110,154,.42) !important;
  color:#ffd6e2 !important;
}

.tlg-local-wrap .tlg-packs-scope .bundleGrid > :nth-child(4) .kicker{
  background:rgba(109,123,255,.18) !important;
  border-color:rgba(109,123,255,.42) !important;
  color:#d6dcff !important;
}

.tlg-local-wrap .tlg-packs-scope .bundleGrid > :nth-child(5) .kicker{
  background:rgba(67,235,255,.16) !important;
  border-color:rgba(67,235,255,.42) !important;
  color:#bdf8ff !important;
}

.tlg-local-wrap .tlg-packs-scope .bundleGrid > :nth-child(6) .kicker{
  background:rgba(160,196,255,.16) !important;
  border-color:rgba(160,196,255,.42) !important;
  color:#e1eeff !important;
}

.tlg-local-wrap .tlg-packs-scope .bundleCard,
.tlg-local-wrap .tlg-packs-scope .grid3 .card{
  display:flex !important;
  flex-direction:column !important;
  min-height:100% !important;
}

.tlg-local-wrap .tlg-packs-scope .bundleCard ul,
.tlg-local-wrap .tlg-packs-scope .grid3 .card ul{
  margin-bottom:0 !important;
}

.tlg-local-wrap .tlg-packs-scope .bundleCard .tagRow{
  margin-top:auto !important;
  padding-top:12px !important;
}

.tlg-local-wrap .tlg-packs-scope .bundleCard .cardFooter,
.tlg-local-wrap .tlg-packs-scope .grid3 .card .cardFooter{
  display:flex !important;
  gap:10px !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  margin-top:16px !important;
  padding-top:14px !important;
  border-top:1px solid rgba(255,255,255,.08) !important;
}

.tlg-local-wrap .tlg-packs-scope .bundleCard .cardFooter .btn,
.tlg-local-wrap .tlg-packs-scope .grid3 .card .cardFooter .btn{
  min-height:40px !important;
  margin:0 !important;
}

.tlg-local-wrap .tlg-packs-scope .sectionTitle > :last-child{
  margin-left:auto !important;
  display:flex !important;
  justify-content:flex-end !important;
  align-items:flex-end !important;
}

.tlg-local-wrap .tlg-packs-scope .sectionTitle > :first-child{
  flex:1 1 auto !important;
  min-width:0 !important;
}

.tlg-local-wrap .tlg-packs-scope .sectionTitle > :first-child,
.tlg-local-wrap .tlg-packs-scope .sectionTitle > :first-child > *{
  display:block !important;
  text-align:left !important;
}

.tlg-local-wrap .tlg-packs-scope .sectionTitle{
  align-items:flex-start !important;
}

.tlg-local-wrap .tlg-packs-scope .sectionTitle h2{
  margin:0 0 6px 0 !important;
}

.tlg-local-wrap .tlg-packs-scope .sectionTitle p{
  margin:0 !important;
  max-width:62ch !important;
}

.tlg-local-wrap .tlg-packs-scope .gridConsultations{
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
}

.tlg-local-wrap .tlg-packs-scope .gridConsultations .card{
  display:flex !important;
  flex-direction:column !important;
  min-height:100% !important;
}

.tlg-local-wrap .tlg-packs-scope .gridConsultations .card ul{
  margin-bottom:0 !important;
}

.tlg-local-wrap .tlg-packs-scope .gridConsultations .card .cardFooter{
  margin-top:auto !important;
  padding-top:14px !important;
  border-top:1px solid rgba(255,255,255,.08) !important;
}

.tlg-local-wrap .tlg-packs-scope .reportBedCard .priceMeta{
  font-size:16px !important;
  font-weight:600 !important;
  letter-spacing:0 !important;
  opacity:1 !important;
  color:#ffffff !important;
  line-height:23.2px !important;
}

.tlg-local-wrap .tlg-packs-scope .reportBedCard .kicker{
  background:rgba(67,235,255,.16) !important;
  border-color:rgba(67,235,255,.42) !important;
  color:#bdf8ff !important;
}

.tlg-local-wrap .tlg-packs-scope .reportBedCard:nth-of-type(1) .kicker{
  background:rgba(37,208,171,.18) !important;
  border-color:rgba(37,208,171,.42) !important;
  color:#9af4cd !important;
}

.tlg-local-wrap .tlg-packs-scope .reportBedCard:nth-of-type(2) .kicker{
  background:rgba(255,196,74,.18) !important;
  border-color:rgba(255,196,74,.42) !important;
  color:#ffe3a0 !important;
}

.tlg-local-wrap .tlg-packs-scope .reportBedCard:nth-of-type(3) .kicker{
  background:rgba(255,110,154,.18) !important;
  border-color:rgba(255,110,154,.42) !important;
  color:#ffd6e2 !important;
}

.tlg-local-wrap .tlg-packs-scope .reportBedCard:nth-of-type(4) .kicker{
  background:rgba(109,123,255,.18) !important;
  border-color:rgba(109,123,255,.42) !important;
  color:#d6dcff !important;
}

.tlg-local-wrap .tlg-packs-scope .reportBedCard:nth-of-type(5) .kicker{
  background:rgba(67,235,255,.16) !important;
  border-color:rgba(67,235,255,.42) !important;
  color:#bdf8ff !important;
}

@media (max-width: 1200px){
  .tlg-local-wrap .tlg-packs-scope .gridConsultations{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px){
  .tlg-local-wrap .tlg-packs-scope .gridConsultations{
    grid-template-columns:1fr !important;
  }
}


/* Packs section title single-line paragraph fix */
@media (min-width: 768px){
  .tlg-local-wrap .tlg-packs-scope .sectionTitle p{
    max-width:none !important;
    white-space:nowrap !important;
  }
}

/* Services cards rebuilt from packs pattern */
.tlg-services-wrap .servicePackCard{
  display:flex !important;
  flex-direction:column !important;
  min-height:100% !important;
}

.tlg-services-wrap .servicePackCard .cardPad{
  display:flex !important;
  flex-direction:column !important;
  min-height:100% !important;
}

.tlg-services-wrap .servicePackCard .kicker{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  width:fit-content !important;
  padding:8px 14px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.18) !important;
  background:rgba(255,255,255,.06) !important;
  color:#eef4ff !important;
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  margin:0 0 14px 0 !important;
}

.tlg-services-wrap .servicePackCard .kicker-good{background:rgba(37,208,171,.18) !important;border-color:rgba(37,208,171,.42) !important;color:#b8ffe8 !important;}
.tlg-services-wrap .servicePackCard .kicker-membership{background:rgba(109,123,255,.18) !important;border-color:rgba(109,123,255,.42) !important;color:#dde1ff !important;}
.tlg-services-wrap .servicePackCard .kicker-tenancy{background:rgba(37,208,171,.18) !important;border-color:rgba(37,208,171,.42) !important;color:#b8ffe8 !important;}
.tlg-services-wrap .servicePackCard .kicker-compliance{background:rgba(255,196,74,.18) !important;border-color:rgba(255,196,74,.42) !important;color:#ffe9ad !important;}
.tlg-services-wrap .servicePackCard .kicker-reports{background:rgba(67,235,255,.16) !important;border-color:rgba(67,235,255,.42) !important;color:#bcf8ff !important;}
.tlg-services-wrap .servicePackCard .kicker-maintenance{background:rgba(255,181,71,.16) !important;border-color:rgba(255,181,71,.42) !important;color:#ffe0a3 !important;}
.tlg-services-wrap .servicePackCard .kicker-dispute{background:rgba(255,110,154,.18) !important;border-color:rgba(255,110,154,.42) !important;color:#ffd0de !important;}
.tlg-services-wrap .servicePackCard .kicker-eviction{background:rgba(109,123,255,.18) !important;border-color:rgba(109,123,255,.42) !important;color:#dde1ff !important;}
.tlg-services-wrap .servicePackCard .kicker-tenant{background:rgba(67,235,255,.16) !important;border-color:rgba(67,235,255,.42) !important;color:#bcf8ff !important;}
.tlg-services-wrap .servicePackCard .kicker-platform{background:rgba(160,196,255,.16) !important;border-color:rgba(160,196,255,.42) !important;color:#e3efff !important;}
.tlg-services-wrap .servicePackCard .kicker-bundle{background:rgba(160,196,255,.16) !important;border-color:rgba(160,196,255,.42) !important;color:#e3efff !important;}
.tlg-services-wrap .servicePackCard .kicker-general{background:rgba(255,255,255,.07) !important;border-color:rgba(255,255,255,.2) !important;color:#eef4ff !important;}

.tlg-services-wrap .servicePackCard h3{
  margin:0 0 8px !important;
  color:#f3f7ff !important;
  font-size:22px !important;
  line-height:1.22 !important;
}

.tlg-services-wrap .servicePackCard p{
  margin:0 0 12px !important;
  color:#d7e4ff !important;
  font-size:15px !important;
  line-height:1.55 !important;
}

.tlg-services-wrap .servicePackCard .priceRow{
  display:flex !important;
  align-items:baseline !important;
  gap:10px !important;
  margin:8px 0 12px !important;
}

.tlg-services-wrap .servicePackCard .price{
  color:#ffffff !important;
  font-size:34px !important;
  font-weight:900 !important;
  letter-spacing:-0.6px !important;
  line-height:1 !important;
}

.tlg-services-wrap .servicePackCard .per{
  color:#ffffff !important;
  font-size:16px !important;
  font-weight:600 !important;
  line-height:1.45 !important;
}

.tlg-services-wrap .servicePackCard ul{
  margin:0 !important;
  padding-left:18px !important;
  color:#eef4ff !important;
}

.tlg-services-wrap .servicePackCard li{
  margin:7px 0 !important;
  color:#eef4ff !important;
  line-height:1.55 !important;
}

.tlg-services-wrap .servicePackCard .tagRow{
  display:flex !important;
  gap:8px !important;
  flex-wrap:wrap !important;
  margin-top:auto !important;
  padding-top:12px !important;
}

.tlg-services-wrap .servicePackCard .tag{
  font-size:12px !important;
  padding:6px 10px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.14) !important;
  color:#d6e3ff !important;
  background:rgba(255,255,255,.02) !important;
}

.tlg-services-wrap .servicePackCard .cardFooter{
  display:flex !important;
  gap:10px !important;
  flex-wrap:wrap !important;
  margin-top:16px !important;
  padding-top:14px !important;
  border-top:1px solid rgba(255,255,255,.08) !important;
}

.tlg-services-wrap .servicePackCard .cardFooter .btn{
  min-height:40px !important;
  padding:10px 12px !important;
  border-radius:12px !important;
  margin:0 !important;
}

/* Services now uses packs-only cards */
.tlg-services-wrap #consultNotice{
  display:none !important;
}

.tlg-services-wrap .servicesGrid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:18px !important;
  margin-top:16px !important;
}

.tlg-services-wrap .servicePackCard,
.tlg-services-wrap .servicePackCard.card,
.tlg-services-wrap .servicePackCard .cardPad{
  display:flex !important;
  flex-direction:column !important;
  min-height:100% !important;
}

.tlg-services-wrap .servicePackCard h3{
  margin:10px 0 6px !important;
  color:#f3f7ff !important;
  font-size:22px !important;
  line-height:1.25 !important;
}

.tlg-services-wrap .servicePackCard p{
  margin:0 0 10px !important;
  color:#d7e4ff !important;
  font-size:15px !important;
  line-height:1.55 !important;
}

.tlg-services-wrap .servicePackCard .kicker,
.tlg-services-wrap .servicePackCard .badge{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  width:fit-content !important;
  padding:8px 14px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.18) !important;
  background:rgba(255,255,255,.06) !important;
  color:#eef4ff !important;
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  margin:0 0 14px 0 !important;
}

.tlg-services-wrap .servicePackCard .kicker-tenancy{background:rgba(37,208,171,.18) !important;border-color:rgba(37,208,171,.42) !important;color:#b8ffe8 !important;}
.tlg-services-wrap .servicePackCard .kicker-compliance{background:rgba(255,196,74,.18) !important;border-color:rgba(255,196,74,.42) !important;color:#ffe9ad !important;}
.tlg-services-wrap .servicePackCard .kicker-dispute{background:rgba(255,110,154,.18) !important;border-color:rgba(255,110,154,.42) !important;color:#ffd0de !important;}
.tlg-services-wrap .servicePackCard .kicker-eviction{background:rgba(109,123,255,.18) !important;border-color:rgba(109,123,255,.42) !important;color:#dde1ff !important;}
.tlg-services-wrap .servicePackCard .kicker-tenant{background:rgba(67,235,255,.16) !important;border-color:rgba(67,235,255,.42) !important;color:#bcf8ff !important;}
.tlg-services-wrap .servicePackCard .kicker-reports-1{background:rgba(37,208,171,.18) !important;border-color:rgba(37,208,171,.42) !important;color:#b8ffe8 !important;}
.tlg-services-wrap .servicePackCard .kicker-reports-2{background:rgba(255,196,74,.18) !important;border-color:rgba(255,196,74,.42) !important;color:#ffe9ad !important;}
.tlg-services-wrap .servicePackCard .kicker-reports-3{background:rgba(255,110,154,.18) !important;border-color:rgba(255,110,154,.42) !important;color:#ffd0de !important;}
.tlg-services-wrap .servicePackCard .kicker-reports-4{background:rgba(109,123,255,.18) !important;border-color:rgba(109,123,255,.42) !important;color:#dde1ff !important;}
.tlg-services-wrap .servicePackCard .kicker-reports-5{background:rgba(67,235,255,.16) !important;border-color:rgba(67,235,255,.42) !important;color:#bcf8ff !important;}

.tlg-services-wrap .servicePackCard .badge.good{border-color:rgba(70,209,143,0.5) !important;color:rgba(220,255,240,0.95) !important;}
.tlg-services-wrap .servicePackCard .badge.warn{border-color:rgba(255,204,102,0.55) !important;color:rgba(255,240,210,0.95) !important;}
.tlg-services-wrap .servicePackCard .badge.risk{border-color:rgba(255,107,107,0.55) !important;color:rgba(255,220,220,0.95) !important;}

.tlg-services-wrap .servicePackCard .priceRow{
  display:flex !important;
  align-items:baseline !important;
  gap:10px !important;
  margin:10px 0 6px !important;
}

.tlg-services-wrap .servicePackCard .price{
  color:#ffffff !important;
  font-size:34px !important;
  font-weight:900 !important;
  letter-spacing:-0.6px !important;
  line-height:1 !important;
}

.tlg-services-wrap .servicePackCard .per{
  color:#ffffff !important;
  font-size:16px !important;
  font-weight:600 !important;
  line-height:1.45 !important;
}

.tlg-services-wrap .servicePackCard .priceMeta{
  font-size:16px !important;
  font-weight:600 !important;
  line-height:23.2px !important;
  color:#ffffff !important;
  opacity:1 !important;
}

.tlg-services-wrap .servicePackCard ul{
  margin:0 !important;
  padding-left:18px !important;
  color:#eef4ff !important;
}

.tlg-services-wrap .servicePackCard li{
  margin:7px 0 !important;
  color:#eef4ff !important;
  line-height:1.55 !important;
}

.tlg-services-wrap .servicePackCard .tagRow{
  display:flex !important;
  gap:8px !important;
  flex-wrap:wrap !important;
  margin-top:auto !important;
  padding-top:12px !important;
}

.tlg-services-wrap .servicePackCard .tag{
  font-size:12px !important;
  padding:6px 10px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.14) !important;
  color:#d6e3ff !important;
  background:rgba(255,255,255,.02) !important;
}

.tlg-services-wrap .servicePackCard .cardFooter{
  display:flex !important;
  gap:10px !important;
  flex-wrap:wrap !important;
  margin-top:16px !important;
  padding-top:14px !important;
  border-top:1px solid rgba(255,255,255,.08) !important;
}

.tlg-services-wrap .servicePackCard .cardFooter .btn{
  min-height:40px !important;
  margin:0 !important;
  padding:10px 12px !important;
  border-radius:12px !important;
}

@media (max-width: 1100px){
  .tlg-services-wrap .servicesGrid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width: 767px){
  .tlg-services-wrap .servicesGrid{
    grid-template-columns:1fr !important;
  }
}

/* Services packs-card footer + button polish */
.tlg-services-wrap .servicePackCard .cardPad > ul{
  margin-bottom:0 !important;
}

.tlg-services-wrap .servicePackCard .tagRow{
  margin-top:auto !important;
  padding-top:12px !important;
}

.tlg-services-wrap .servicePackCard .cardFooter{
  display:flex !important;
  gap:10px !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  margin-top:16px !important;
  padding-top:14px !important;
  border-top:1px solid rgba(255,255,255,.08) !important;
}

.tlg-services-wrap .servicePackCard .cardFooter .btnPrimary,
.tlg-services-wrap .servicePackCard .cardFooter .btn.btnPrimary,
.tlg-services-wrap .servicePackCard .cardFooter .btn.btnSmall.btnPrimary{
  background:linear-gradient(135deg, rgba(106,124,255,1), rgba(74,163,255,1)) !important;
  border-color:transparent !important;
  color:#ffffff !important;
  box-shadow:0 10px 24px rgba(106,124,255,.22) !important;
}

.tlg-services-wrap .servicePackCard .cardFooter .btnPrimary:hover,
.tlg-services-wrap .servicePackCard .cardFooter .btn.btnPrimary:hover,
.tlg-services-wrap .servicePackCard .cardFooter .btn.btnSmall.btnPrimary:hover{
  filter:brightness(1.03) !important;
}

.tlg-services-wrap .servicePackCard .cardFooter .btn,
.tlg-services-wrap .servicePackCard .cardFooter .btn.btnSmall{
  min-height:40px !important;
  padding:10px 12px !important;
  border-radius:12px !important;
  margin:0 !important;
  justify-content:center !important;
  align-items:center !important;
}

/* Services footer alignment tidy pass */
.tlg-services-wrap .servicePackCard .tagRow{
  min-height:42px !important;
  align-content:flex-start !important;
}

.tlg-services-wrap .servicePackCard .tagRow.tagRow-empty{
  padding-top:12px !important;
}

/* ===== Home page mobile rescue ===== */
@media (max-width: 782px){
  .tlg-home-wrap .container{
    padding:20px 14px 64px !important;
  }

  .tlg-home-wrap .home-hero{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:16px !important;
    align-items:stretch !important;
  }

  .tlg-home-wrap .home-hero-main,
  .tlg-home-wrap .home-hero-side{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
  }

  .tlg-home-wrap .home-hero-main{
    order:1 !important;
    padding:18px 16px !important;
  }

  .tlg-home-wrap .home-hero-side{
    order:2 !important;
    padding:16px !important;
    gap:14px !important;
  }

  .tlg-home-wrap .home-hero h1{
    font-size:clamp(34px, 9vw, 44px) !important;
    line-height:1.02 !important;
    letter-spacing:-0.6px !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;
    max-width:none !important;
  }

  .tlg-home-wrap .home-lead,
  .tlg-home-wrap .home-fineprint,
  .tlg-home-wrap .home-side-note p{
    max-width:none !important;
  }

  .tlg-home-wrap .home-btn-row{
    display:flex !important;
    flex-direction:column !important;
    flex-wrap:nowrap !important;
    gap:10px !important;
    margin:18px 0 14px !important;
    width:100% !important;
  }

  .tlg-home-wrap .home-btn-row > *,
  .tlg-home-wrap .home-btn-row > p,
  .tlg-home-wrap .home-btn-row .home-btn,
  .tlg-home-wrap .home-btn-row a{
    display:flex !important;
    width:100% !important;
    min-width:0 !important;
    flex:none !important;
    margin:0 !important;
  }

  .tlg-home-wrap .home-btn-row > p:empty,
  .tlg-home-wrap .home-btn-row > br{
    display:none !important;
  }

  .tlg-home-wrap .home-portal-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:12px !important;
    height:auto !important;
  }

  .tlg-home-wrap .home-portal-tile{
    min-width:0 !important;
  }

  .tlg-home-wrap .home-hero-side .heroPortalActions{
    display:flex !important;
    width:100% !important;
    max-width:none !important;
    margin:8px 0 0 !important;
    justify-content:stretch !important;
    align-items:stretch !important;
    gap:10px !important;
    flex-wrap:nowrap !important;
  }

  .tlg-home-wrap .home-hero-side .heroPortalActions .btn{
    flex:1 1 0 !important;
    width:auto !important;
    min-width:0 !important;
    margin:0 !important;
  }

  .tlg-home-wrap .home-side-note{
    margin-top:10px !important;
    padding-top:14px !important;
  }

  .tlg-home-wrap .home-card-grid-3,
  .tlg-home-wrap .home-membership-grid,
  .tlg-home-wrap .home-demo-grid{
    grid-template-columns:1fr !important;
  }
}

/* ===== Home memberships desktop spacing tidy ===== */
@media (min-width: 783px){
  .tlg-home-wrap .home-membership-top{
    gap:8px !important;
    margin-bottom:4px !important;
  }

  .tlg-home-wrap .home-plan-name{
    margin:0 !important;
  }

  .tlg-home-wrap .home-membership-price{
    margin:0 0 10px !important;
  }
}

/* ===== Home memberships tighter spacing pass 2 ===== */
@media (min-width: 783px){
  .tlg-home-wrap #home-memberships .home-membership-top{
    gap:6px !important;
    margin-bottom:2px !important;
  }

  .tlg-home-wrap #home-memberships .home-plan-name{
    margin:0 !important;
    line-height:1.28 !important;
  }

  .tlg-home-wrap #home-memberships .home-membership-price{
    margin:6px 0 8px !important;
  }
}

/* ===== Home memberships remove WP empty paragraph gaps ===== */
.tlg-home-wrap #home-memberships .home-membership-card > p:empty,
.tlg-home-wrap #home-memberships .home-membership-top > p:empty,
.tlg-home-wrap #home-memberships .home-membership-card > br,
.tlg-home-wrap #home-memberships .home-membership-top > br{
  display:none !important;
}

/* ===== Home memberships add back small controlled spacing ===== */
.tlg-home-wrap #home-memberships .home-membership-top{
  gap:6px !important;
  margin-bottom:6px !important;
}

.tlg-home-wrap #home-memberships .home-membership-price{
  margin:4px 0 12px !important;
}

/* ===== Home memberships equal small gaps ===== */
.tlg-home-wrap #home-memberships .home-plan-tag{
  margin-bottom:16px !important;
}

.tlg-home-wrap #home-memberships .home-membership-price{
  margin:8px 0 12px !important;
}

/* ===== Home right hero desktop spacing tidy ===== */
@media (min-width: 783px){
  .tlg-home-wrap .home-hero-side{
    gap:30px !important;
  }

  .tlg-home-wrap .home-hero-side .home-portal-grid{
    margin-top:6px !important;
    gap:12px !important;
  }

  .tlg-home-wrap .home-hero-side .heroPortalActions{
    margin-top:2px !important;
  }
}

/* ===== Memberships page top pills + card spacing tidy ===== */
.tlg-local-wrap.tlg-memberships-page .topbar{
  justify-content:flex-end !important;
  align-items:flex-start !important;
  gap:12px !important;
  padding:0 0 8px !important;
  margin:0 0 8px !important;
}

.tlg-local-wrap.tlg-memberships-page .topbar .brand{
  display:none !important;
}

.tlg-local-wrap.tlg-memberships-page .home-membership-card > p:empty,
.tlg-local-wrap.tlg-memberships-page .home-membership-top > p:empty,
.tlg-local-wrap.tlg-memberships-page .home-membership-card > br,
.tlg-local-wrap.tlg-memberships-page .home-membership-top > br{
  display:none !important;
}

.tlg-local-wrap.tlg-memberships-page .home-membership-top{
  gap:6px !important;
  margin-bottom:6px !important;
}

.tlg-local-wrap.tlg-memberships-page .home-plan-tag{
  margin-bottom:10px !important;
}

.tlg-local-wrap.tlg-memberships-page .home-membership-price{
  margin:8px 0 12px !important;
}

/* ===== Memberships page desktop hero row layout ===== */
@media (min-width: 783px){
  .tlg-local-wrap.tlg-memberships-page .container{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    column-gap:24px !important;
    row-gap:8px !important;
    align-items:start !important;
  }

  .tlg-local-wrap.tlg-memberships-page .topbar{
    grid-column:2 !important;
    grid-row:1 / span 2 !important;
    justify-self:end !important;
    align-self:end !important;
    padding:0 !important;
    margin:0 0 6px 0 !important;
  }

  .tlg-local-wrap.tlg-memberships-page .container > h1,
  .tlg-local-wrap.tlg-memberships-page .container > p:first-of-type{
    grid-column:1 !important;
  }

  .tlg-local-wrap.tlg-memberships-page #memberships,
  .tlg-local-wrap.tlg-memberships-page #platform,
  .tlg-local-wrap.tlg-memberships-page #savings,
  .tlg-local-wrap.tlg-memberships-page #details{
    grid-column:1 / -1 !important;
  }
}

/* ===== Memberships page remove stray editor spacing ===== */
.tlg-local-wrap.tlg-memberships-page .tlg-top-pills > br,
.tlg-local-wrap.tlg-memberships-page .container > p:empty,
.tlg-local-wrap.tlg-memberships-page .container > br,
.tlg-local-wrap.tlg-memberships-page #memberships > p:empty,
.tlg-local-wrap.tlg-memberships-page #memberships > br{
  display:none !important;
}

/* ===== Memberships page heading row buttons ===== */
.tlg-local-wrap.tlg-memberships-page .tlg-membership-rowhead{
  display:flex !important;
  justify-content:space-between !important;
  align-items:flex-start !important;
  gap:18px !important;
  margin:0 0 12px !important;
}

.tlg-local-wrap.tlg-memberships-page .tlg-membership-rowhead h2{
  margin:0 !important;
}

.tlg-local-wrap.tlg-memberships-page .tlg-membership-rowhead .tlg-top-pills{
  justify-content:flex-end !important;
  margin-left:auto !important;
}

@media (max-width: 782px){
  .tlg-local-wrap.tlg-memberships-page .tlg-membership-rowhead{
    flex-direction:column !important;
    align-items:flex-start !important;
  }

  .tlg-local-wrap.tlg-memberships-page .tlg-membership-rowhead .tlg-top-pills{
    justify-content:flex-start !important;
    margin-left:0 !important;
  }
}

/* ===== Memberships page tighten calculator to details gap ===== */
.tlg-local-wrap.tlg-memberships-page .tlg-membership-details{
  margin-top:-18px !important;
  padding-top:0 !important;
}

/* ===== Memberships page details grid balance ===== */
@media (min-width: 1101px){
  .tlg-local-wrap.tlg-memberships-page .tlg-membership-details-grid{
    grid-template-columns:minmax(0, 1.08fr) minmax(0, .92fr) !important;
  }
}

/* ===== Memberships page details grid balance correction ===== */
@media (min-width: 1101px){
  .tlg-local-wrap.tlg-memberships-page .tlg-membership-details-grid{
    grid-template-columns:minmax(0, .92fr) minmax(0, 1.08fr) !important;
  }
}

/* ===== Memberships page tighten intro to plans row ===== */
.tlg-local-wrap.tlg-memberships-page #memberships{
  margin-top:12px !important;
}

/* ===== Matrix page heading row buttons ===== */
.tlg-local-wrap.tlg-matrix-page .container > p.sub:empty,
.tlg-local-wrap.tlg-matrix-page .container > p:empty,
.tlg-local-wrap.tlg-matrix-page .container > br,
.tlg-local-wrap.tlg-matrix-page #memberships > p:empty,
.tlg-local-wrap.tlg-matrix-page #memberships > br,
.tlg-local-wrap.tlg-matrix-page .tlg-top-pills > br{
  display:none !important;
}

.tlg-local-wrap.tlg-matrix-page #memberships{
  margin-top:4px !important;
}

.tlg-local-wrap.tlg-matrix-page .tlg-matrix-rowhead{
  display:flex !important;
  justify-content:space-between !important;
  align-items:flex-start !important;
  gap:18px !important;
  margin:0 0 12px !important;
}

.tlg-local-wrap.tlg-matrix-page .tlg-matrix-rowhead h2{
  margin:0 !important;
}

.tlg-local-wrap.tlg-matrix-page .tlg-matrix-rowhead .tlg-top-pills{
  justify-content:flex-end !important;
  margin-left:auto !important;
}

@media (max-width: 782px){
  .tlg-local-wrap.tlg-matrix-page .tlg-matrix-rowhead{
    flex-direction:column !important;
    align-items:flex-start !important;
  }

  .tlg-local-wrap.tlg-matrix-page .tlg-matrix-rowhead .tlg-top-pills{
    justify-content:flex-start !important;
    margin-left:0 !important;
  }
}

/* ===== Desktop submenu width restore ===== */
.main-header-menu .sub-menu{
  width:max-content !important;
  min-width:260px !important;
  max-width:380px !important;
}

.main-header-menu .sub-menu a{
  white-space:nowrap !important;
}

/* ===== Matrix page heading row buttons ===== */
.tlg-local-wrap.tlg-matrix-page .container > p.sub:empty,
.tlg-local-wrap.tlg-matrix-page .container > p:empty,
.tlg-local-wrap.tlg-matrix-page .container > br,
.tlg-local-wrap.tlg-matrix-page #memberships > p:empty,
.tlg-local-wrap.tlg-matrix-page #memberships > br,
.tlg-local-wrap.tlg-matrix-page .tlg-top-pills > br{
  display:none !important;
}

.tlg-local-wrap.tlg-matrix-page #memberships{
  margin-top:4px !important;
}

.tlg-local-wrap.tlg-matrix-page .tlg-matrix-rowhead{
  display:flex !important;
  justify-content:space-between !important;
  align-items:flex-start !important;
  gap:18px !important;
  margin:0 0 12px !important;
}

.tlg-local-wrap.tlg-matrix-page .tlg-matrix-rowhead h2{
  margin:0 !important;
}

.tlg-local-wrap.tlg-matrix-page .tlg-matrix-rowhead .tlg-top-pills{
  justify-content:flex-end !important;
  margin-left:auto !important;
}

@media (max-width: 782px){
  .tlg-local-wrap.tlg-matrix-page .tlg-matrix-rowhead{
    flex-direction:column !important;
    align-items:flex-start !important;
  }

  .tlg-local-wrap.tlg-matrix-page .tlg-matrix-rowhead .tlg-top-pills{
    justify-content:flex-start !important;
    margin-left:0 !important;
  }
}

/* ===== Journeys page ===== */
.tlg-local-wrap.tlg-journeys-page .topbar{
  justify-content:flex-end !important;
  align-items:flex-start !important;
  gap:12px !important;
  padding:0 0 8px !important;
  margin:0 0 8px !important;
}

.tlg-local-wrap.tlg-journeys-page .topbar .brand{
  display:none !important;
}

.tlg-local-wrap.tlg-journeys-page .container > p:empty,
.tlg-local-wrap.tlg-journeys-page .container > br,
.tlg-local-wrap.tlg-journeys-page .topbar > br,
.tlg-local-wrap.tlg-journeys-page .tlg-top-pills > br{
  display:none !important;
}

.tlg-local-wrap.tlg-journeys-page .tlg-top-pills{
  display:flex !important;
  gap:12px !important;
  flex-wrap:wrap !important;
  justify-content:flex-end !important;
}

.tlg-local-wrap.tlg-journeys-page .tlg-top-pills .btn{
  min-height:42px !important;
  padding:12px 16px !important;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-section{
  margin-top:8px !important;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-head{
  display:grid;
  grid-template-columns:minmax(0, 1.2fr) minmax(300px, .8fr);
  gap:18px;
  align-items:start;
  margin-bottom:18px;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-copy h2,
.tlg-local-wrap.tlg-journeys-page .tlg-journey-next-box h2{
  margin:0 0 10px;
  font-size:clamp(24px, 3vw, 36px);
  line-height:1.08;
  letter-spacing:-.5px;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-copy p,
.tlg-local-wrap.tlg-journeys-page .tlg-journey-next-box p{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.65;
  max-width:900px;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:fit-content;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(37,208,171,.35);
  background:rgba(37,208,171,.12);
  color:#b8ffe8;
  font-size:13px;
  font-weight:800;
  line-height:1;
  margin:0 0 12px;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-callout,
.tlg-local-wrap.tlg-journeys-page .tlg-journey-next-box{
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(17,30,47,.92) 0%, rgba(12,24,40,.92) 100%);
  border-radius:22px;
  box-shadow:var(--shadow);
  padding:22px 20px;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-callout strong{
  display:block;
  margin:0 0 10px;
  color:#ffffff;
  font-size:18px;
  line-height:1.2;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-callout p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
  align-items:stretch;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-card{
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(17,30,47,.94) 0%, rgba(12,24,40,.94) 100%);
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:22px 20px 20px;
  min-height:100%;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-card::before{
  content:"";
  position:absolute;
  inset:-40px -40px auto auto;
  width:180px;
  height:180px;
  border-radius:50%;
  background:radial-gradient(circle at 30% 30%, rgba(255,255,255,.08), transparent 65%);
  pointer-events:none;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-card > *{
  position:relative;
  z-index:1;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-step-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:fit-content;
  min-height:34px;
  padding:7px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  font-size:13px;
  font-weight:900;
  line-height:1;
  margin-bottom:14px;
}

.tlg-local-wrap.tlg-journeys-page .tlg-step-good{
  background:rgba(37,208,171,.12);
  border-color:rgba(37,208,171,.38);
  color:#b8ffe8;
}

.tlg-local-wrap.tlg-journeys-page .tlg-step-warn{
  background:rgba(255,196,74,.12);
  border-color:rgba(255,196,74,.38);
  color:#ffe9ad;
}

.tlg-local-wrap.tlg-journeys-page .tlg-step-risk{
  background:rgba(255,110,154,.12);
  border-color:rgba(255,110,154,.38);
  color:#ffd0de;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-card h3{
  margin:0 0 12px;
  color:#ffffff;
  font-size:26px;
  line-height:1.15;
  letter-spacing:-.35px;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-card p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-tag-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:auto;
  padding-top:18px;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-tag{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:#d7e4ff;
  font-size:12px;
  font-weight:800;
  line-height:1;
}

.tlg-local-wrap.tlg-journeys-page .tlg-journey-next{
  margin-top:26px !important;
}

@media (min-width: 783px){
  .tlg-local-wrap.tlg-journeys-page .container{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    column-gap:24px !important;
    row-gap:8px !important;
    align-items:start !important;
  }

  .tlg-local-wrap.tlg-journeys-page .topbar{
    grid-column:2 !important;
    grid-row:1 / span 2 !important;
    justify-self:end !important;
    align-self:start !important;
    padding:0 !important;
    margin:0 !important;
  }

  .tlg-local-wrap.tlg-journeys-page .container > h1,
  .tlg-local-wrap.tlg-journeys-page .container > p.sub{
    grid-column:1 !important;
  }

  .tlg-local-wrap.tlg-journeys-page #landlord-journey,
  .tlg-local-wrap.tlg-journeys-page #tenant-journey{
    grid-column:1 / -1 !important;
  }
}

@media (max-width: 1100px){
  .tlg-local-wrap.tlg-journeys-page .tlg-journey-head{
    grid-template-columns:1fr;
  }

  .tlg-local-wrap.tlg-journeys-page .tlg-journey-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px){
  .tlg-local-wrap.tlg-journeys-page .container{
    padding:20px 14px 64px !important;
  }

  .tlg-local-wrap.tlg-journeys-page .topbar{
    justify-content:flex-start !important;
    margin:0 0 10px !important;
  }

  .tlg-local-wrap.tlg-journeys-page .tlg-top-pills{
    justify-content:flex-start !important;
  }

  .tlg-local-wrap.tlg-journeys-page .tlg-top-pills .btn{
    flex:1 1 auto;
    min-width:0;
  }

  .tlg-local-wrap.tlg-journeys-page .tlg-journey-grid{
    grid-template-columns:1fr;
  }

  .tlg-local-wrap.tlg-journeys-page .tlg-journey-card{
    padding:18px 16px 16px;
  }

  .tlg-local-wrap.tlg-journeys-page .tlg-journey-card h3{
    font-size:22px;
  }
}

/* ===== Standalone journeys route page ===== */
.tlg-local-wrap.tlg-journeys-standalone-page .tlg-top-pills .btn{
  min-height:42px !important;
}

.tlg-local-wrap.tlg-journeys-standalone-page .tlg-route-grid{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.tlg-local-wrap.tlg-journeys-standalone-page .tlg-route-card{
  min-height:100%;
}

.tlg-local-wrap.tlg-journeys-standalone-page .tlg-route-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:auto;
  padding-top:18px;
}

.tlg-local-wrap.tlg-journeys-standalone-page .tlg-route-actions .btn{
  min-height:42px;
  padding:12px 16px;
}

@media (max-width: 1100px){
  .tlg-local-wrap.tlg-journeys-standalone-page .tlg-route-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 782px){
  .tlg-local-wrap.tlg-journeys-standalone-page .tlg-route-actions{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:8px !important;
    align-items:stretch !important;
  }

  .tlg-local-wrap.tlg-journeys-standalone-page .tlg-route-actions > p{
    display:contents !important;
    margin:0 !important;
  }

  .tlg-local-wrap.tlg-journeys-standalone-page .tlg-route-actions > br{
    display:none !important;
  }

  .tlg-local-wrap.tlg-journeys-standalone-page .tlg-route-actions > *{
    min-width:0 !important;
  }

  .tlg-local-wrap.tlg-journeys-standalone-page .tlg-route-actions .btn{
    width:100% !important;
    max-width:100% !important;
    min-height:38px !important;
    min-width:0 !important;
    padding:10px 10px !important;
    font-size:13px !important;
    line-height:1.15 !important;
    flex:none !important;
    display:flex !important;
    white-space:normal !important;
    text-align:center !important;
    justify-content:center !important;
    align-items:center !important;
  }
}

/* ===== Matrix footer CTA row ===== */
.tlg-local-wrap.tlg-matrix-page .tlg-matrix-cta-row td{
  vertical-align:middle !important;
  text-align:center !important;
}

.tlg-local-wrap.tlg-matrix-page .tlg-matrix-cta{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:40px !important;
  padding:10px 14px !important;
  width:100% !important;
  max-width:180px !important;
  margin:0 auto !important;
  text-align:center !important;
  white-space:nowrap !important;
}

@media (max-width: 782px){
  .tlg-local-wrap.tlg-matrix-page .tlg-matrix-cta{
    min-width:140px !important;
  }
}

/* ===== TLG Shop ===== */
.tlg-local-wrap.tlg-shop-page{
  --tlg-shop-bg-1:#0b1220;
  --tlg-shop-bg-2:#14253a;
  --tlg-shop-card:#162235;
  --tlg-shop-card-2:#1b2a40;
  --tlg-shop-border:rgba(255,255,255,.10);
  --tlg-shop-text:#f3f7ff;
  --tlg-shop-muted:#d7e4ff;
  --tlg-shop-pill-bg:rgba(37,208,171,.12);
  --tlg-shop-pill-border:rgba(37,208,171,.35);
  --tlg-shop-pill-text:#b8ffe8;
}

.tlg-local-wrap.tlg-shop-page .container{
  position:relative;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-hero{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);
  gap:22px;
  align-items:stretch;
  margin:18px 0 26px;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-hero__copy,
.tlg-local-wrap.tlg-shop-page .tlg-shop-callout{
  background:linear-gradient(180deg,rgba(22,34,53,.98) 0%, rgba(14,24,40,.98) 100%);
  border:1px solid var(--tlg-shop-border);
  border-radius:26px;
  padding:26px 24px;
  box-shadow:0 22px 60px rgba(0,0,0,.22);
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-kicker{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid var(--tlg-shop-pill-border);
  background:var(--tlg-shop-pill-bg);
  color:var(--tlg-shop-pill-text);
  font-size:13px;
  font-weight:800;
  line-height:1;
  margin-bottom:14px;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-hero h2{
  margin:0 0 10px !important;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-hero p{
  margin:0;
  color:var(--tlg-shop-muted);
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-tag-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-tag{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#eef4ff;
  font-size:13px;
  font-weight:700;
  line-height:1;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-callout strong{
  display:block;
  margin-bottom:10px;
  color:#ffffff;
  font-size:20px;
  line-height:1.15;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-callout p{
  color:var(--tlg-shop-muted);
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-pay-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-pay-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  color:#aef8ff;
  flex:0 0 auto;
  box-shadow:0 10px 22px rgba(0,0,0,.14);
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-pay-icon svg{
  width:20px;
  height:20px;
  fill:currentColor;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-pay-icon.is-card{
  background:rgba(110,149,255,.14);
  border-color:rgba(110,149,255,.34);
  color:#d8e4ff;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-pay-icon.is-bacs{
  background:rgba(255,206,92,.14);
  border-color:rgba(255,206,92,.34);
  color:#ffe59d;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-pay-icon.is-apple{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.18);
  color:#ffffff;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-pay-icon.is-gpay{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.18);
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-pay-icon.is-gpay svg{
  width:22px;
  height:22px;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-pay-icon.is-klarna{
  background:#ffb3c7;
  border-color:#ffb3c7;
  color:#131313;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-shell{
  margin-top:0;
}

/* WooCommerce archive on TLG Shop page */
.tlg-local-wrap.tlg-shop-page .woocommerce-ordering,
.tlg-local-wrap.tlg-shop-page .woocommerce-result-count{
  margin-bottom:18px;
  color:#d7e4ff;
}

.tlg-local-wrap.tlg-shop-page .woocommerce-ordering select.orderby{
  min-height:48px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  color:#ffffff;
  padding:12px 16px;
  box-shadow:none;
}

.tlg-local-wrap.tlg-shop-page ul.products{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin:0 !important;
}

.tlg-local-wrap.tlg-shop-page ul.products.columns-3 li.product,
.tlg-local-wrap.tlg-shop-page ul.products li.product{
  width:auto !important;
  float:none !important;
  margin:0 !important;
  padding:24px 22px 20px !important;
  border-radius:26px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg,rgba(22,34,53,.98) 0%, rgba(14,24,40,.98) 100%);
  box-shadow:0 22px 60px rgba(0,0,0,.22);
  overflow:hidden;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product::before{
  content:"";
  position:absolute;
  inset:0 auto auto 58%;
  width:180px;
  height:180px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 72%);
  pointer-events:none;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product{
  position:relative;
  display:flex;
  flex-direction:column;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .astra-shop-thumbnail-wrap,
.tlg-local-wrap.tlg-shop-page ul.products li.product .product-thumb,
.tlg-local-wrap.tlg-shop-page ul.products li.product > a:first-child{
  margin:0 0 16px;
  border-radius:20px;
  overflow:hidden;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product img{
  width:100%;
  border-radius:20px;
  display:block;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category,
.tlg-local-wrap.tlg-shop-page ul.products li.product .woocommerce-loop-category__title,
.tlg-local-wrap.tlg-shop-page ul.products li.product .posted_in{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#eef4ff;
  font-size:13px;
  font-weight:800;
  line-height:1;
  margin-bottom:14px;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category a,
.tlg-local-wrap.tlg-shop-page ul.products li.product .posted_in a{
  color:inherit !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .woocommerce-loop-product__title,
.tlg-local-wrap.tlg-shop-page ul.products li.product h2{
  margin:0 0 10px !important;
  color:#ffffff !important;
  font-size:36px;
  font-size:clamp(26px,2vw,38px);
  line-height:1.02;
  letter-spacing:-.03em;
  font-weight:800 !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .price{
  margin:0 0 16px !important;
  color:#ffffff !important;
  font-size:18px;
  font-weight:800;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .price .amount{
  color:#ffffff !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .button,
.tlg-local-wrap.tlg-shop-page ul.products li.product .added_to_cart{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 18px !important;
  border-radius:16px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  background:linear-gradient(135deg,#6d7bff,#25d0ab) !important;
  color:#ffffff !important;
  font-weight:800 !important;
  line-height:1 !important;
  box-shadow:0 12px 28px rgba(109,123,255,.24);
}

.tlg-local-wrap.tlg-shop-page nav.woocommerce-pagination{
  margin-top:26px;
}

.tlg-local-wrap.tlg-shop-page nav.woocommerce-pagination ul{
  border:0 !important;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.tlg-local-wrap.tlg-shop-page nav.woocommerce-pagination ul li{
  border:0 !important;
}

.tlg-local-wrap.tlg-shop-page nav.woocommerce-pagination ul li a,
.tlg-local-wrap.tlg-shop-page nav.woocommerce-pagination ul li span{
  min-width:42px;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#ffffff;
}

/* Global single product styling */
.single-product .ast-woocommerce-container,
.woocommerce-page.single-product .ast-woocommerce-container{
  max-width:1320px;
  margin:0 auto;
}

.single-product div.product,
.woocommerce-page.single-product div.product{
  background:transparent;
  color:#eef4ff;
}

.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary.entry-summary{
  margin-top:14px;
}

.single-product .woocommerce-product-gallery__wrapper,
.single-product .summary.entry-summary,
.single-product .woocommerce-tabs .panel,
.single-product section.related.products{
  background:linear-gradient(180deg,rgba(22,34,53,.98) 0%, rgba(14,24,40,.98) 100%);
  border:1px solid rgba(255,255,255,.10);
  border-radius:26px;
  box-shadow:0 22px 60px rgba(0,0,0,.22);
}

.single-product .woocommerce-product-gallery__wrapper{
  padding:18px;
}

.single-product .summary.entry-summary{
  padding:26px 24px;
}

.single-product .woocommerce-breadcrumb,
.single-product .woocommerce-breadcrumb a,
.single-product .single-product-category,
.single-product .single-product-category a{
  color:#cbd8f0 !important;
}

.single-product .summary.entry-summary .product_title{
  margin:0 0 12px !important;
  color:#ffffff !important;
  font-size:clamp(32px,3vw,46px);
  line-height:1.02;
  letter-spacing:-.03em;
  font-weight:800 !important;
}

.single-product .summary.entry-summary .price,
.single-product .summary.entry-summary .price .amount{
  color:#ffffff !important;
  font-weight:800 !important;
}

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-tabs .panel,
.single-product .woocommerce-tabs .panel p,
.single-product .woocommerce-tabs .panel li{
  color:#d7e4ff;
}

.single-product .cart .quantity .qty,
.single-product .cart input.qty{
  min-height:46px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  color:#ffffff;
}

.single-product .cart .button,
.single-product .cart .single_add_to_cart_button,
.single-product .cart .wc-buy-now-btn{
  min-height:46px;
  border-radius:16px !important;
  padding:12px 18px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  color:#ffffff !important;
  font-weight:800 !important;
}

.single-product .cart .single_add_to_cart_button,
.single-product .cart .wc-buy-now-btn{
  background:linear-gradient(135deg,#6d7bff,#25d0ab) !important;
  box-shadow:0 12px 28px rgba(109,123,255,.24);
}

.single-product .woocommerce-tabs ul.tabs{
  margin:24px 0 0 !important;
  padding:0 !important;
  border-bottom:0 !important;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.single-product .woocommerce-tabs ul.tabs li{
  border:1px solid rgba(255,255,255,.10) !important;
  background:rgba(255,255,255,.04) !important;
  border-radius:14px !important;
  margin:0 !important;
  padding:0 !important;
}

.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after{
  display:none !important;
}

.single-product .woocommerce-tabs ul.tabs li a{
  color:#ffffff !important;
  font-weight:800;
  padding:12px 18px !important;
}

.single-product .woocommerce-tabs ul.tabs li.active{
  background:rgba(255,255,255,.10) !important;
}

.single-product .woocommerce-tabs .panel{
  padding:24px 22px;
  margin-top:14px !important;
}

.single-product section.related.products{
  margin-top:30px;
  padding:22px;
}

.single-product section.related.products > h2{
  color:#ffffff;
  margin:0 0 16px;
}

.single-product section.related.products ul.products{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}

.single-product section.related.products ul.products li.product{
  width:auto !important;
  float:none !important;
  margin:0 !important;
  padding:18px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}

.single-product section.related.products ul.products li.product .button{
  display:inline-flex !important;
  min-height:42px;
  padding:10px 16px !important;
  border-radius:14px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  background:linear-gradient(135deg,#6d7bff,#25d0ab) !important;
  color:#ffffff !important;
  font-weight:800 !important;
}

@media (max-width: 1180px){
  .tlg-local-wrap.tlg-shop-page ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 921px){
  .tlg-local-wrap.tlg-shop-page .tlg-shop-hero{
    grid-template-columns:1fr;
  }

  .tlg-local-wrap.tlg-shop-page ul.products{
    grid-template-columns:1fr;
  }

  .single-product section.related.products ul.products{
    grid-template-columns:1fr;
  }
}

@media (max-width: 782px){
  .tlg-local-wrap.tlg-shop-page .tlg-top-pills{
    justify-content:flex-start;
    width:100%;
  }

  .tlg-local-wrap.tlg-shop-page .tlg-shop-hero__copy,
  .tlg-local-wrap.tlg-shop-page .tlg-shop-callout{
    padding:22px 16px;
  }

  .single-product .woocommerce-product-gallery__wrapper,
  .single-product .summary.entry-summary,
  .single-product .woocommerce-tabs .panel,
  .single-product section.related.products{
    padding:18px 16px;
  }
}

/* ===== TLG Shop pass 2 ===== */
.tlg-local-wrap.tlg-shop-page h1{
  margin-top:6px !important;
}

.tlg-local-wrap.tlg-shop-page .sub{
  margin-bottom:16px !important;
  max-width:980px;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-hero{
  margin:12px 0 22px;
}

.tlg-local-wrap.tlg-shop-page ul.products{
  grid-template-columns:repeat(auto-fit,minmax(280px,340px)) !important;
  justify-content:flex-start;
  gap:18px;
}

.tlg-local-wrap.tlg-shop-page ul.products.columns-3 li.product,
.tlg-local-wrap.tlg-shop-page ul.products li.product{
  padding:16px 16px 14px !important;
  border-radius:22px;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .astra-shop-thumbnail-wrap,
.tlg-local-wrap.tlg-shop-page ul.products li.product .product-thumb,
.tlg-local-wrap.tlg-shop-page ul.products li.product > a:first-child{
  margin:0 0 12px;
  border-radius:18px;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .woocommerce-loop-product__title,
.tlg-local-wrap.tlg-shop-page ul.products li.product h2{
  font-size:18px !important;
  line-height:1.12 !important;
  letter-spacing:-.01em;
  margin:0 0 8px !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .price{
  margin:0 0 12px !important;
  font-size:28px;
  line-height:1;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:auto;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .button,
.tlg-local-wrap.tlg-shop-page ul.products li.product .added_to_cart,
.tlg-local-wrap.tlg-shop-page .tlg-shop-view{
  min-height:42px;
  padding:10px 16px !important;
  border-radius:14px !important;
  font-size:15px;
  white-space:nowrap;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-view{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.10) !important;
  background:rgba(255,255,255,.04) !important;
  color:#ffffff !important;
  box-shadow:none !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product > .button,
.tlg-local-wrap.tlg-shop-page ul.products li.product > .added_to_cart{
  display:none !important;
}

/* Single product pass 2 */
.single-product .site-content,
.single-product .content-area,
.single-product .site-main{
  padding-top:0 !important;
  margin-top:0 !important;
}

.single-product .ast-woocommerce-container,
.woocommerce-page.single-product .ast-woocommerce-container{
  max-width:1460px;
  width:min(1460px,calc(100vw - 28px));
  padding-top:8px !important;
}

.single-product div.product{
  display:grid;
  grid-template-columns:minmax(320px,520px) minmax(320px,1fr);
  gap:28px;
  align-items:start;
}

.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary.entry-summary{
  margin-top:0;
}

.single-product .summary.entry-summary{
  padding:22px 20px;
}

.single-product .cart{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}

.single-product .cart .quantity{
  margin:0 !important;
}

.single-product .cart .single_add_to_cart_button,
.single-product .cart .wc-buy-now-btn{
  white-space:nowrap !important;
  min-width:136px;
  font-size:16px !important;
  line-height:1 !important;
}

.single-product .woocommerce-tabs{
  margin-top:22px;
}

.single-product section.related.products{
  padding:18px 18px 16px;
}

.single-product section.related.products ul.products{
  grid-template-columns:repeat(auto-fit,minmax(240px,320px));
  justify-content:flex-start;
  gap:18px;
}

.single-product section.related.products ul.products li.product{
  padding:14px;
  border-radius:18px;
}

.single-product section.related.products ul.products li.product .woocommerce-loop-product__title,
.single-product section.related.products ul.products li.product h2{
  font-size:18px !important;
  line-height:1.15 !important;
  margin:0 0 8px !important;
}

.single-product section.related.products ul.products li.product .price{
  font-size:20px;
}

.single-product section.related.products ul.products li.product .button{
  min-height:40px;
  padding:10px 14px !important;
  font-size:14px;
}

@media (max-width: 1100px){
  .single-product div.product{
    grid-template-columns:1fr;
  }
}

@media (max-width: 782px){
  .tlg-local-wrap.tlg-shop-page ul.products{
    grid-template-columns:1fr !important;
  }

  .tlg-local-wrap.tlg-shop-page .tlg-shop-actions{
    flex-direction:column;
  }

  .single-product .ast-woocommerce-container,
  .woocommerce-page.single-product .ast-woocommerce-container{
    width:min(100vw - 16px,1460px);
  }

  .single-product .cart .single_add_to_cart_button,
  .single-product .cart .wc-buy-now-btn{
    min-width:0;
    width:auto;
  }
}

/* ===== TLG Shop pass 3 ===== */
.tlg-local-wrap.tlg-shop-page .woocommerce-ordering select.orderby,
.tlg-local-wrap.tlg-shop-page .woocommerce-ordering select.orderby option{
  background:#162235 !important;
  color:#ffffff !important;
}

.tlg-local-wrap.tlg-shop-page ul.products.columns-3 li.product,
.tlg-local-wrap.tlg-shop-page ul.products li.product{
  min-height:100%;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .astra-shop-summary-wrap{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-height:0;
  height:100%;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .woocommerce-loop-product__title,
.tlg-local-wrap.tlg-shop-page ul.products li.product h2{
  font-size:16px !important;
  line-height:1.12 !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .price{
  margin:0 0 10px !important;
  font-size:22px;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-loop-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:auto;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .button,
.tlg-local-wrap.tlg-shop-page ul.products li.product .added_to_cart,
.tlg-local-wrap.tlg-shop-page .tlg-shop-view{
  min-height:40px;
  padding:10px 14px !important;
  font-size:14px;
}

.tlg-local-wrap.tlg-shop-page .tlg-shop-view{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  border:1px solid rgba(255,255,255,.10) !important;
  background:rgba(255,255,255,.04) !important;
  color:#ffffff !important;
  box-shadow:none !important;
}

/* Single product pass 3 */
.single-product .site-content > .ast-container,
.single-product .content-area.primary,
.single-product .site-main,
.single-product .ast-woocommerce-container{
  width:100% !important;
  max-width:1500px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.single-product .site-content > .ast-container{
  padding-top:14px !important;
}

.single-product .ast-woocommerce-container,
.woocommerce-page.single-product .ast-woocommerce-container{
  padding-top:10px !important;
}

.single-product div.product{
  display:grid !important;
  grid-template-columns:minmax(340px,460px) minmax(520px,1fr) !important;
  justify-content:space-between;
  gap:34px;
  align-items:start;
}

.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary.entry-summary{
  width:auto !important;
  float:none !important;
  margin:0 !important;
}

.single-product .summary.entry-summary{
  max-width:none !important;
  padding:22px 22px;
}

.single-product .cart .single_add_to_cart_button,
.single-product .cart .wc-buy-now-btn{
  white-space:nowrap !important;
  min-width:152px;
}

.single-product section.related.products{
  padding:16px 16px 14px;
}

.single-product section.related.products ul.products{
  grid-template-columns:repeat(auto-fit,minmax(220px,260px));
  justify-content:flex-start;
  gap:16px;
}

.single-product section.related.products ul.products li.product{
  padding:12px;
}

.single-product section.related.products ul.products li.product .woocommerce-loop-product__title,
.single-product section.related.products ul.products li.product h2{
  font-size:16px !important;
}

.single-product section.related.products ul.products li.product .price{
  font-size:18px;
}

.single-product .tlg-shop-view{
  display:none !important;
}

@media (max-width: 1100px){
  .single-product div.product{
    grid-template-columns:1fr !important;
  }
}

/* ===== TLG Shop pass 4 ===== */
.tlg-local-wrap.tlg-shop-page ul.products li.product .astra-shop-summary-wrap{
  display:flex;
  flex-direction:column;
  height:100%;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category{
  order:1;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-loop-product__link,
.tlg-local-wrap.tlg-shop-page ul.products li.product .woocommerce-LoopProduct-link,
.tlg-local-wrap.tlg-shop-page ul.products li.product h2.woocommerce-loop-product__title{
  order:2;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .price{
  order:3;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .tlg-shop-loop-actions{
  order:4;
  margin-top:auto;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .astra-shop-summary-wrap > a.button:not(.tlg-shop-view),
.tlg-local-wrap.tlg-shop-page ul.products li.product .astra-shop-summary-wrap > .button:not(.tlg-shop-view),
.tlg-local-wrap.tlg-shop-page ul.products li.product > a.button:not(.tlg-shop-view),
.tlg-local-wrap.tlg-shop-page ul.products li.product > .button:not(.tlg-shop-view){
  display:none !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .woocommerce-loop-product__title,
.tlg-local-wrap.tlg-shop-page ul.products li.product h2{
  font-size:15px !important;
  line-height:1.1 !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .price{
  font-size:18px;
}

/* Single product pass 4 */
.single-product .woocommerce-tabs,
.single-product section.related.products{
  grid-column:1 / -1;
  width:100%;
}

.single-product .woocommerce-tabs{
  margin-top:24px;
}

.single-product section.related.products{
  margin-top:18px;
}

.single-product section.related.products ul.products li.product .button{
  white-space:nowrap !important;
}

.single-product .site-content > .ast-container,
.single-product .content-area.primary,
.single-product .site-main,
.single-product .ast-woocommerce-container{
  max-width:1500px !important;
}

.single-product .site-content > .ast-container{
  padding-top:18px !important;
}

.single-product .summary.entry-summary{
  min-width:0;
}

/* ===== TLG Shop pass 5 ===== */
.tlg-local-wrap.tlg-shop-page ul.products.columns-3 li.product,
.tlg-local-wrap.tlg-shop-page ul.products li.product{
  min-height:auto !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .astra-shop-thumbnail-wrap,
.tlg-local-wrap.tlg-shop-page ul.products li.product .product-thumb,
.tlg-local-wrap.tlg-shop-page ul.products li.product > a:first-child{
  overflow:visible !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product img{
  height:auto !important;
  object-fit:contain !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .astra-shop-summary-wrap{
  height:auto !important;
  min-height:0 !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .tlg-shop-loop-actions{
  margin-top:8px !important;
}

/* ===== Hide only stray floating Stripe UI on single product ===== */
.single-product [class*="stripe"][style*="position: fixed"],
.single-product [class*="payment-request"][style*="position: fixed"],
.single-product iframe[src*="stripe"][style*="position: fixed"]{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* ===== Safe single product background match ===== */
body.single-product,
.single-product #page,
.single-product #content,
.single-product .site-content{
  background:linear-gradient(135deg,#1d2451 0%, #0b1220 38%, #0f1f33 72%, #14504f 100%) !important;
}

/* ===== Tighten gap above related products on single product page ===== */
.single-product section.related.products{
  margin-top:8px !important;
}

/* ===== Remove black inner wrapper on single product page ===== */
.single-product .site-content > .ast-container,
.single-product #primary,
.single-product .content-area.primary,
.single-product .site-main,
.single-product .ast-woocommerce-container{
  background:transparent !important;
}

/* ===== Single product background direction + image surround tidy ===== */
body.single-product,
.single-product #page,
.single-product #content,
.single-product .site-content{
  background:linear-gradient(135deg,#1d2451 0%, #0b1220 38%, #0f1f33 72%, #14504f 100%) !important;
}

.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery__wrapper{
  background:transparent !important;
  box-shadow:none !important;
}

/* ===== Single product final background + gallery cleanup ===== */
body.single-product,
.single-product #page,
.single-product #content,
.single-product .site-content{
  background:
    radial-gradient(circle at 8% 10%, rgba(84,95,190,.42) 0%, rgba(84,95,190,0) 28%),
    radial-gradient(circle at 92% 10%, rgba(26,118,116,.32) 0%, rgba(26,118,116,0) 26%),
    linear-gradient(180deg, #0b1220 0%, #0b1220 100%) !important;
}

.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery .flex-viewport,
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image a,
.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery .flex-control-thumbs,
.single-product .woocommerce-product-gallery .flex-control-thumbs li{
  background:transparent !important;
  box-shadow:none !important;
}

.single-product .woocommerce-product-gallery{
  padding:0 !important;
  border:0 !important;
}

.single-product .woocommerce-product-gallery__wrapper{
  padding:0 !important;
  border:0 !important;
}

.single-product .woocommerce-tabs{
  margin-top:14px !important;
}

.single-product section.related.products{
  margin-top:4px !important;
  margin-bottom:26px !important;
}

/* ===== Force all gallery wrappers transparent on single product ===== */
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery div,
.single-product .woocommerce-product-gallery figure,
.single-product .woocommerce-product-gallery a,
.single-product .woocommerce-product-gallery .flex-viewport,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image a,
.single-product .woocommerce-product-gallery .flex-control-thumbs,
.single-product .woocommerce-product-gallery .flex-control-thumbs li{
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* ===== Single product gallery exact WooCommerce/Astra wrapper cleanup ===== */
.single-product .woocommerce-js div.product div.images,
.single-product .woocommerce-js div.product div.images .flex-viewport,
.single-product .woocommerce-js div.product div.images .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-js div.product div.images .woocommerce-product-gallery__image,
.single-product .woocommerce-js div.product div.images .woocommerce-product-gallery__image a,
.single-product .woocommerce-js div.product div.images .zoomImg,
.single-product .woocommerce-js div.product div.images .flex-control-thumbs,
.single-product .woocommerce-js div.product div.images .flex-control-thumbs li,
.single-product .woocommerce-js div.product div.images .flex-control-thumbs img{
  background:transparent !important;
  background-color:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
}

.single-product .woocommerce-js div.product div.images{
  padding:0 !important;
  border:0 !important;
}

/* TLG shop: 4-column desktop grid + sale badge inside card */
.tlg-local-wrap.tlg-shop-page ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:18px !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product{
  overflow:visible !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .onsale,
.tlg-local-wrap.tlg-shop-page ul.products li.product span.onsale{
  top:12px !important;
  right:12px !important;
  left:auto !important;
  margin:0 !important;
  z-index:3 !important;
}

@media (max-width: 1200px){
  .tlg-local-wrap.tlg-shop-page ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

/* TLG shop: category pill colours */
.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category:has(a[href*="/consultation"]),
.tlg-local-wrap.tlg-shop-page ul.products li.product .posted_in:has(a[href*="/consultation"]){
  border-color:rgba(37,208,171,.40) !important;
  background:rgba(37,208,171,.14) !important;
  color:#b8ffe8 !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category:has(a[href*="/tenancy-setup"]),
.tlg-local-wrap.tlg-shop-page ul.products li.product .posted_in:has(a[href*="/tenancy-setup"]){
  border-color:rgba(37,208,171,.40) !important;
  background:rgba(37,208,171,.14) !important;
  color:#b8ffe8 !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category:has(a[href*="/compliance"]),
.tlg-local-wrap.tlg-shop-page ul.products li.product .posted_in:has(a[href*="/compliance"]){
  border-color:rgba(255,206,92,.42) !important;
  background:rgba(255,206,92,.14) !important;
  color:#ffe59d !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category:has(a[href*="/disputes"]),
.tlg-local-wrap.tlg-shop-page ul.products li.product .posted_in:has(a[href*="/disputes"]),
.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category:has(a[href*="/escalation"]),
.tlg-local-wrap.tlg-shop-page ul.products li.product .posted_in:has(a[href*="/escalation"]){
  border-color:rgba(255,122,160,.42) !important;
  background:rgba(255,122,160,.14) !important;
  color:#ffc5d4 !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category:has(a[href*="/tenant-support"]),
.tlg-local-wrap.tlg-shop-page ul.products li.product .posted_in:has(a[href*="/tenant-support"]){
  border-color:rgba(0,232,255,.38) !important;
  background:rgba(0,232,255,.12) !important;
  color:#aef8ff !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category:has(a[href*="/reports"]),
.tlg-local-wrap.tlg-shop-page ul.products li.product .posted_in:has(a[href*="/reports"]){
  border-color:rgba(110,149,255,.42) !important;
  background:rgba(110,149,255,.14) !important;
  color:#d8e4ff !important;
}

/* TLG shop: category pill colours via JS-added classes */
.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category.is-consultation{
  border-color:rgba(37,208,171,.40) !important;
  background:rgba(37,208,171,.14) !important;
  color:#b8ffe8 !important;
}
.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category.is-tenancy-setup{
  border-color:rgba(37,208,171,.40) !important;
  background:rgba(37,208,171,.14) !important;
  color:#b8ffe8 !important;
}
.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category.is-compliance{
  border-color:rgba(255,206,92,.42) !important;
  background:rgba(255,206,92,.14) !important;
  color:#ffe59d !important;
}
.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category.is-disputes,
.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category.is-escalation{
  border-color:rgba(255,122,160,.42) !important;
  background:rgba(255,122,160,.14) !important;
  color:#ffc5d4 !important;
}
.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category.is-tenant-support{
  border-color:rgba(0,232,255,.38) !important;
  background:rgba(0,232,255,.12) !important;
  color:#aef8ff !important;
}
.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category.is-reports{
  border-color:rgba(110,149,255,.42) !important;
  background:rgba(110,149,255,.14) !important;
  color:#d8e4ff !important;
}

.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category.is-assessment{
  border-color:rgba(37,208,171,.40) !important;
  background:rgba(37,208,171,.14) !important;
  color:#b8ffe8 !important;
}
.tlg-local-wrap.tlg-shop-page ul.products li.product .ast-woo-product-category.is-planning{
  border-color:rgba(255,206,92,.42) !important;
  background:rgba(255,206,92,.14) !important;
  color:#ffe59d !important;
}

/* ===== Responsive rescue: phone landscape + Astra mobile menu ===== */
@media (min-width: 783px) and (max-width: 1100px){
  .tlg-home-wrap .home-hero{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }

  .tlg-home-wrap .home-hero-main,
  .tlg-home-wrap .home-hero-side{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
  }

  .tlg-home-wrap .home-btn-row .home-btn,
  .tlg-home-wrap .home-hero-side .heroPortalActions .btn{
    white-space:normal !important;
    line-height:1.25 !important;
    text-align:center !important;
  }
}

@media (orientation: landscape) and (max-height: 520px){
  .tlg-home-wrap .container{
    padding-left:14px !important;
    padding-right:14px !important;
  }

  .tlg-home-wrap .home-hero{
    grid-template-columns:1fr !important;
    gap:16px !important;
  }

  .tlg-home-wrap .home-hero-main,
  .tlg-home-wrap .home-hero-side{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
  }

  .tlg-home-wrap .home-btn-row{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
  }

  .tlg-home-wrap .home-btn-row > *,
  .tlg-home-wrap .home-btn-row > p,
  .tlg-home-wrap .home-btn-row .home-btn,
  .tlg-home-wrap .home-btn-row a{
    width:100% !important;
    min-width:0 !important;
    flex:none !important;
  }

  .tlg-home-wrap .home-btn-row .home-btn{
    min-height:44px !important;
    padding:10px 12px !important;
    white-space:normal !important;
    line-height:1.25 !important;
  }

  .tlg-home-wrap .home-hero-side .heroPortalActions{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    width:100% !important;
    max-width:none !important;
    gap:10px !important;
    margin:8px 0 0 !important;
  }

  .tlg-home-wrap .home-hero-side .heroPortalActions .btn{
    width:100% !important;
    min-width:0 !important;
    white-space:normal !important;
    line-height:1.25 !important;
    text-align:center !important;
  }
}

@media (max-width: 921px){
  #ast-mobile-header,
  #ast-mobile-header .ast-mobile-header-content,
  #ast-mobile-header .ast-builder-menu-mobile,
  #ast-mobile-header .main-navigation,
  #ast-mobile-header #ast-mobile-site-navigation,
  #ast-mobile-header #ast-hf-mobile-menu{
    background:#0b1220 !important;
  }

  #ast-mobile-header .ast-mobile-header-content{
    border-top:1px solid rgba(255,255,255,.08) !important;
    box-shadow:0 18px 40px rgba(0,0,0,.35) !important;
    max-height:calc(100vh - 86px) !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu,
  #ast-mobile-header #ast-hf-mobile-menu .sub-menu{
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu > .menu-item{
    border-bottom:1px solid rgba(255,255,255,.08) !important;
    background:transparent !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu > .menu-item > .menu-link,
  #ast-mobile-header #ast-hf-mobile-menu > .menu-item > a{
    background:transparent !important;
    color:#ffffff !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu .ast-menu-toggle,
  #ast-mobile-header #ast-hf-mobile-menu .dropdown-menu-toggle{
    background:transparent !important;
    color:#ffffff !important;
    border-color:rgba(255,255,255,.10) !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu .sub-menu{
    background:#162238 !important;
    border:1px solid rgba(255,255,255,.10) !important;
    border-radius:16px !important;
    margin:10px 12px 12px !important;
    overflow:hidden !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu .sub-menu .menu-item{
    border-bottom:1px solid rgba(255,255,255,.08) !important;
    background:transparent !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu .sub-menu .menu-item:last-child{
    border-bottom:0 !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu .sub-menu a{
    background:transparent !important;
    color:#ffffff !important;
  }

  #ast-mobile-header .main-navigation,
  #ast-mobile-header #ast-hf-mobile-menu,
  #ast-mobile-header #ast-hf-mobile-menu li{
    overflow:visible !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu.main-header-menu.ast-nav-menu.ast-flex{
    display:block !important;
    width:100% !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu > .menu-item,
  #ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children{
    display:block !important;
    width:100% !important;
    flex:none !important;
    float:none !important;
    clear:both !important;
    position:relative !important;
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu > .menu-item > .menu-link{
    display:block !important;
    width:100% !important;
    padding:14px 64px 14px 16px !important;
    line-height:1.3 !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu > .menu-item > .ast-menu-toggle{
    position:absolute !important;
    top:8px !important;
    right:12px !important;
    width:44px !important;
    height:44px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children > .sub-menu{
    position:static !important;
    top:auto !important;
    right:auto !important;
    left:auto !important;
    width:auto !important;
    max-width:none !important;
    transform:none !important;
    clear:both !important;
    z-index:auto !important;
  }
}

/* ===== Tablet header switch: keep hamburger up to 1200px ===== */
@media (min-width: 922px) and (max-width: 1200px){
  #ast-desktop-header{
    display:none !important;
  }

  #ast-mobile-header{
    display:block !important;
  }

  #ast-mobile-header,
  #ast-mobile-header .ast-mobile-header-content,
  #ast-mobile-header .ast-builder-menu-mobile,
  #ast-mobile-header .main-navigation,
  #ast-mobile-header #ast-mobile-site-navigation,
  #ast-mobile-header #ast-hf-mobile-menu{
    background:#0b1220 !important;
  }

  #ast-mobile-header .ast-mobile-header-content{
    border-top:1px solid rgba(255,255,255,.08) !important;
    box-shadow:0 18px 40px rgba(0,0,0,.35) !important;
    max-height:calc(100vh - 86px) !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu.main-header-menu.ast-nav-menu.ast-flex{
    display:block !important;
    width:100% !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu,
  #ast-mobile-header #ast-hf-mobile-menu .sub-menu{
    margin:0 !important;
    padding:0 !important;
    list-style:none !important;
  }

  #ast-mobile-header .main-navigation,
  #ast-mobile-header #ast-hf-mobile-menu,
  #ast-mobile-header #ast-hf-mobile-menu li{
    overflow:visible !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu > .menu-item,
  #ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children{
    display:block !important;
    width:100% !important;
    flex:none !important;
    float:none !important;
    clear:both !important;
    position:relative !important;
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
    background:transparent !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu > .menu-item > .menu-link,
  #ast-mobile-header #ast-hf-mobile-menu > .menu-item > a{
    display:block !important;
    width:100% !important;
    padding:14px 64px 14px 16px !important;
    line-height:1.3 !important;
    background:transparent !important;
    color:#ffffff !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu > .menu-item > .ast-menu-toggle{
    position:absolute !important;
    top:8px !important;
    right:12px !important;
    width:44px !important;
    height:44px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:transparent !important;
    color:#ffffff !important;
    border-color:rgba(255,255,255,.10) !important;
    z-index:2 !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu .sub-menu{
    background:#162238 !important;
    border:1px solid rgba(255,255,255,.10) !important;
    border-radius:16px !important;
    margin:10px 12px 12px !important;
    overflow:hidden !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu .sub-menu .menu-item{
    border-bottom:1px solid rgba(255,255,255,.08) !important;
    background:transparent !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu .sub-menu .menu-item:last-child{
    border-bottom:0 !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu .sub-menu a{
    display:block !important;
    width:100% !important;
    padding:12px 16px !important;
    background:transparent !important;
    color:#ffffff !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children > .sub-menu{
    display:none !important;
    position:static !important;
    top:auto !important;
    right:auto !important;
    left:auto !important;
    width:auto !important;
    max-width:none !important;
    transform:none !important;
    clear:both !important;
    z-index:auto !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children > .ast-menu-toggle[aria-expanded="true"] + .sub-menu,
  #ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children > .menu-link[aria-expanded="true"] + .ast-menu-toggle + .sub-menu,
  #ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children > .menu-link:focus + .ast-menu-toggle + .sub-menu,
  #ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children > .ast-menu-toggle:focus + .sub-menu,
  #ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children:focus-within > .sub-menu,
  #ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children.focus > .sub-menu,
  #ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children.toggled-on > .sub-menu,
  #ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children.ast-submenu-expanded > .sub-menu{
    display:block !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children.tlg-tablet-submenu-open > .sub-menu{
    display:block !important;
  }

  #ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children.tlg-tablet-submenu-open > .ast-menu-toggle,
  #ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children.tlg-tablet-submenu-open > .menu-link .dropdown-menu-toggle{
    background:rgba(108, 138, 255, .14) !important;
    border-color:rgba(108, 138, 255, .42) !important;
  }
}

/* ===== Hide stray left arrow in mobile header rows ===== */
#ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children > .menu-link > .ast-icon.icon-arrow,
#ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children > .menu-link > .icon-arrow{
  display:none !important;
  width:0 !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
}

#ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children > .menu-link > .dropdown-menu-toggle,
#ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children > .menu-link > .dropdown-menu-toggle > .ast-icon.icon-arrow,
#ast-mobile-header #ast-hf-mobile-menu .menu-item-has-children > .menu-link > .dropdown-menu-toggle > .icon-arrow{
  display:inline-flex !important;
  width:auto !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
}

/* ===== Standalone services quote request modal ===== */
.tlg-services-wrap .tlg-service-request{
  position:fixed;
  inset:0;
  display:none;
  z-index:10001;
}
.tlg-services-wrap .tlg-service-request.is-open{
  display:block;
}
.tlg-services-wrap .tlg-service-request__backdrop{
  position:absolute;
  inset:0;
  background:rgba(3,10,22,.72);
  backdrop-filter:blur(3px);
}
.tlg-services-wrap .tlg-service-request__panel{
  position:relative;
  width:min(700px, calc(100vw - 24px));
  margin:4.5vh auto 0;
  background:linear-gradient(180deg, rgba(17,30,47,.98) 0%, rgba(12,24,40,.98) 100%);
  border:1px solid rgba(255,255,255,.12);
  border-radius:24px;
  box-shadow:0 24px 60px rgba(0,0,0,.35);
  color:#eef4ff;
  overflow:hidden;
  z-index:1;
}
.tlg-services-wrap .tlg-service-request__content{
  padding:22px 18px 18px;
  max-height:88vh;
  overflow:auto;
}
.tlg-services-wrap .tlg-service-request__pill{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(37,208,171,.35);
  background:rgba(37,208,171,.12);
  color:#b8ffe8;
  font-size:13px;
  font-weight:800;
  line-height:1;
  margin-bottom:14px;
}
.tlg-services-wrap .tlg-service-request__content h3{
  margin:0 0 8px;
  color:#ffffff;
  font-size:clamp(24px, 2.8vw, 32px);
  line-height:1.06;
  letter-spacing:-.5px;
}
.tlg-services-wrap .tlg-service-request__content p{
  margin:0 0 12px;
  color:#d7e4ff;
  font-size:14px;
  line-height:1.45;
}
.tlg-services-wrap .tlg-service-request__close{
  position:absolute;
  top:14px;
  right:14px;
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#ffffff;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}
.tlg-services-wrap .tlg-service-request__form{
  display:grid;
  gap:8px;
}
.tlg-services-wrap .tlg-service-request__grid{
  display:grid;
  gap:8px 10px;
}
.tlg-services-wrap .tlg-service-request__grid--two{
  grid-template-columns:1fr 1fr;
}
.tlg-services-wrap .tlg-service-request__grid--property{
  grid-template-columns:1.2fr .9fr .7fr;
}
.tlg-services-wrap .tlg-service-request__field{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.tlg-services-wrap .tlg-service-request__field label{
  color:#f5f9ff;
  font-size:12px;
  font-weight:700;
}
.tlg-services-wrap .tlg-service-request__field input,
.tlg-services-wrap .tlg-service-request__field select,
.tlg-services-wrap .tlg-service-request__field textarea{
  width:100%;
  min-height:42px;
  border-radius:13px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:#ffffff;
  padding:9px 13px;
  box-sizing:border-box;
}
.tlg-services-wrap .tlg-service-request__field textarea{
  min-height:96px;
  resize:vertical;
}
.tlg-services-wrap .tlg-service-request__field input::placeholder,
.tlg-services-wrap .tlg-service-request__field textarea::placeholder{
  color:#9db0d3;
}
.tlg-services-wrap .tlg-service-request__field input:focus,
.tlg-services-wrap .tlg-service-request__field select:focus,
.tlg-services-wrap .tlg-service-request__field textarea:focus{
  outline:none;
  border-color:rgba(83,156,255,.6);
  box-shadow:0 0 0 4px rgba(83,156,255,.14);
}
.tlg-services-wrap .tlg-service-request__field.is-invalid input,
.tlg-services-wrap .tlg-service-request__field.is-invalid select,
.tlg-services-wrap .tlg-service-request__field.is-invalid textarea{
  border-color:rgba(255,107,129,.7);
  box-shadow:0 0 0 4px rgba(255,107,129,.12);
}
.tlg-services-wrap .tlg-service-request__actions{
  display:flex;
  justify-content:center;
  margin-top:2px;
}
.tlg-services-wrap .tlg-service-request__actions .btn{
  min-width:220px;
}
.tlg-services-wrap .tlg-service-request__success{
  border-radius:14px;
  border:1px solid rgba(37,208,171,.28);
  background:rgba(37,208,171,.10);
  color:#dffff4;
  padding:14px 16px;
  text-align:center;
  font-weight:700;
}
.tlg-services-wrap .tlg-service-request.is-submitted .tlg-service-request__form > *:not(.tlg-service-request__success){
  display:none;
}
body.tlg-service-request-open{
  overflow:hidden;
}

@media (max-width: 782px){
  .tlg-services-wrap .tlg-service-request__panel{
    width:min(100vw - 16px, 760px);
    margin:3vh auto 0;
  }
  .tlg-services-wrap .tlg-service-request__content{
    padding:22px 16px 18px;
  }
  .tlg-services-wrap .tlg-service-request__grid--two,
  .tlg-services-wrap .tlg-service-request__grid--property{
    grid-template-columns:1fr;
  }
}

/* ===== Services popup + filter search force fix ===== */
.tlg-services-wrap .serviceFilters .filterBlock-search #serviceSearch{
  min-height:34px !important;
  height:34px !important;
  max-height:34px !important;
  padding:6px 14px !important;
  line-height:20px !important;
  top:0 !important;
}

.tlg-services-wrap .serviceFilters .filterBlock-search{
  padding-top:0 !important;
}

.tlg-services-wrap .serviceFilters .filterBlock-search .label-with-count{
  margin-bottom:6px !important;
}

.tlg-services-wrap .tlg-service-request__panel{
  width:min(640px, calc(100vw - 24px)) !important;
}

.tlg-services-wrap .tlg-service-request__content{
  padding:18px 16px 16px !important;
}

.tlg-services-wrap .tlg-service-request__content h3{
  margin:0 0 6px !important;
  font-size:clamp(22px, 2.4vw, 29px) !important;
  line-height:1.04 !important;
}

.tlg-services-wrap .tlg-service-request__content p{
  margin:0 0 10px !important;
  font-size:14px !important;
  line-height:1.4 !important;
}

.tlg-services-wrap .tlg-service-request__form{
  gap:6px !important;
}

.tlg-services-wrap .tlg-service-request__grid{
  gap:6px 8px !important;
}

.tlg-services-wrap .tlg-service-request__field{
  gap:3px !important;
}

.tlg-services-wrap .tlg-service-request__field label{
  font-size:11px !important;
  margin:0 !important;
}

.tlg-services-wrap .tlg-service-request__field input,
.tlg-services-wrap .tlg-service-request__field select,
.tlg-services-wrap .tlg-service-request__field textarea{
  min-height:40px !important;
  height:auto !important;
  padding:8px 12px !important;
}

.tlg-services-wrap .tlg-service-request__field textarea{
  min-height:88px !important;
}

.tlg-services-wrap .tlg-service-request__actions{
  margin-top:0 !important;
}

.tlg-services-wrap .tlg-service-request__formWrap .fluentform,
.tlg-services-wrap .tlg-service-request__formWrap .ff_fluentform_wrapper,
.tlg-services-wrap .tlg-service-request__formWrap .fluentform_wrapper{
  margin:0 !important;
}

.tlg-services-wrap .tlg-service-request__formWrap .ff-el-group{
  margin-bottom:6px !important;
}

.tlg-services-wrap .tlg-service-request__formWrap .ff-t-container{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:6px 8px !important;
}

.tlg-services-wrap .tlg-service-request__formWrap .ff-t-cell{
  width:100% !important;
  float:none !important;
  margin:0 !important;
}

.tlg-services-wrap .tlg-service-request__formWrap label{
  color:#f5f9ff !important;
  font-size:11px !important;
  font-weight:700 !important;
  margin:0 0 3px !important;
}

.tlg-services-wrap .tlg-service-request__formWrap .ff-el-form-control,
.tlg-services-wrap .tlg-service-request__formWrap input[type="text"],
.tlg-services-wrap .tlg-service-request__formWrap input[type="email"],
.tlg-services-wrap .tlg-service-request__formWrap input[type="tel"],
.tlg-services-wrap .tlg-service-request__formWrap input[type="date"],
.tlg-services-wrap .tlg-service-request__formWrap textarea,
.tlg-services-wrap .tlg-service-request__formWrap select{
  width:100% !important;
  min-height:40px !important;
  border-radius:13px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  background:rgba(255,255,255,.05) !important;
  color:#ffffff !important;
  padding:8px 12px !important;
  box-sizing:border-box !important;
  box-shadow:none !important;
}

.tlg-services-wrap .tlg-service-request__formWrap select{
  appearance:none !important;
  -webkit-appearance:none !important;
  -moz-appearance:none !important;
  padding-right:42px !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d7e4ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-position:right 14px center !important;
  background-size:14px 14px !important;
}

.tlg-services-wrap .tlg-service-request__formWrap input[type="date"]{
  position:relative !important;
  padding-right:42px !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d7e4ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-position:right 13px center !important;
  background-size:16px 16px !important;
}

.tlg-services-wrap .tlg-service-request__formWrap input[type="date"]::-webkit-calendar-picker-indicator{
  opacity:.02 !important;
  cursor:pointer !important;
  position:absolute !important;
  right:10px !important;
  width:24px !important;
  height:24px !important;
}

.tlg-services-wrap .tlg-service-request__formWrap textarea{
  min-height:88px !important;
  resize:vertical !important;
}

.tlg-services-wrap .tlg-service-request__formWrap .ff-el-form-control::placeholder,
.tlg-services-wrap .tlg-service-request__formWrap input::placeholder,
.tlg-services-wrap .tlg-service-request__formWrap textarea::placeholder{
  color:#9db0d3 !important;
}

.tlg-services-wrap .tlg-service-request__formWrap .ff-el-form-control:focus,
.tlg-services-wrap .tlg-service-request__formWrap input:focus,
.tlg-services-wrap .tlg-service-request__formWrap textarea:focus,
.tlg-services-wrap .tlg-service-request__formWrap select:focus{
  outline:none !important;
  border-color:rgba(83,156,255,.6) !important;
  box-shadow:0 0 0 4px rgba(83,156,255,.14) !important;
}

.tlg-services-wrap .tlg-service-request__formWrap .ff-btn-submit,
.tlg-services-wrap .tlg-service-request__formWrap .ff-btn.ff-btn-submit{
  min-width:220px !important;
  min-height:44px !important;
  border-radius:14px !important;
  border:0 !important;
  padding:10px 18px !important;
  font-weight:800 !important;
  color:#ffffff !important;
  background:linear-gradient(135deg, #6d7bff, #25d0ab) !important;
  box-shadow:0 10px 25px rgba(109,123,255,.25) !important;
}

.tlg-services-wrap .tlg-service-request__formWrap .ff_submit_btn_wrapper{
  margin-top:2px !important;
  text-align:center !important;
}

.tlg-services-wrap .tlg-service-request__formWrap .ff-message-success{
  border-radius:14px !important;
  border:1px solid rgba(37,208,171,.28) !important;
  background:rgba(37,208,171,.10) !important;
  color:#dffff4 !important;
  padding:14px 16px !important;
  text-align:center !important;
  font-weight:700 !important;
}

.tlg-services-wrap .tlg-service-request.is-submitted .tlg-service-request__content > h3,
.tlg-services-wrap .tlg-service-request.is-submitted .tlg-service-request__content > p{
  display:none !important;
}

@media (max-width: 782px){
  .tlg-services-wrap .tlg-service-request__formWrap .ff-t-container{
    grid-template-columns:1fr !important;
  }
}

/* ===== Fluent Form 8 dropdown dark-mode attempt ===== */
.fluent_form_8 select,
.fluent_form_8 .ff-el-form-control{
  background-color:#222222 !important;
  color:#ffffff !important;
}

.fluent_form_8 select{
  appearance:none !important;
  -webkit-appearance:none !important;
  -moz-appearance:none !important;
}

.fluent_form_8 select option{
  background-color:#222222 !important;
  color:#ffffff !important;
}

.fluent_form_8 select:focus,
.fluent_form_8 .ff-el-form-control:focus{
  background-color:#222222 !important;
  color:#ffffff !important;
  outline:none !important;
}

/* ===== Fluent Form 8 icon polish ===== */
.fluent_form_8 select,
.tlg-services-wrap .tlg-service-request__formWrap .fluent_form_8 select{
  padding-right:44px !important;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat,no-repeat !important;
  background-position:right 8px center,right 18px center !important;
  background-size:28px 28px,14px 14px !important;
  border-color:rgba(120,148,194,.38) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03) !important;
}

.fluent_form_8 input[type="date"],
.tlg-services-wrap .tlg-service-request__formWrap .fluent_form_8 input[type="date"]{
  padding-right:46px !important;
  appearance:none !important;
  -webkit-appearance:none !important;
  -moz-appearance:textfield !important;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat,no-repeat !important;
  background-position:right 8px center,right 14px center !important;
  background-size:30px 30px,17px 17px !important;
  border-color:rgba(120,148,194,.38) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03) !important;
}

.fluent_form_8 input[type="date"]::-moz-focus-inner,
.tlg-services-wrap .tlg-service-request__formWrap .fluent_form_8 input[type="date"]::-moz-focus-inner{
  border:0 !important;
}

.fluent_form_8 .ff-el-group:has(input[type="date"]),
.tlg-services-wrap .tlg-service-request__formWrap .fluent_form_8 .ff-el-group:has(input[type="date"]){
  position:relative !important;
}

.fluent_form_8 .ff-el-group:has(input[type="date"])::after,
.tlg-services-wrap .tlg-service-request__formWrap .fluent_form_8 .ff-el-group:has(input[type="date"])::after{
  content:"" !important;
  position:absolute !important;
  right:16px !important;
  top:50% !important;
  width:17px !important;
  height:17px !important;
  transform:translateY(2px) !important;
  pointer-events:none !important;
  opacity:.92 !important;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") center/contain no-repeat !important;
}

.fluent_form_8 input[type="date"]::-webkit-calendar-picker-indicator,
.tlg-services-wrap .tlg-service-request__formWrap .fluent_form_8 input[type="date"]::-webkit-calendar-picker-indicator{
  opacity:.22 !important;
  cursor:pointer !important;
  filter:invert(1) !important;
}

.fluent_form_8 .tlg-date-icon-field,
.tlg-services-wrap .tlg-service-request__formWrap .fluent_form_8 .tlg-date-icon-field,
.fluent_form_8 .tlg-select-icon-field,
.tlg-services-wrap .tlg-service-request__formWrap .fluent_form_8 .tlg-select-icon-field{
  position:relative !important;
  overflow:visible !important;
}

.fluent_form_8 .tlg-date-icon-field::after,
.tlg-services-wrap .tlg-service-request__formWrap .fluent_form_8 .tlg-date-icon-field::after{
  content:"" !important;
  position:absolute !important;
  right:14px !important;
  top:calc(50% + 4px) !important;
  width:17px !important;
  height:17px !important;
  transform:translateY(-50%) !important;
  pointer-events:none !important;
  opacity:1 !important;
  z-index:6 !important;
  mix-blend-mode:normal !important;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") center/contain no-repeat !important;
}

.fluent_form_8 .tlg-select-icon-field::after,
.tlg-services-wrap .tlg-service-request__formWrap .fluent_form_8 .tlg-select-icon-field::after{
  content:none !important;
}


