/* TG Services Manager v1.0.0: scoped design; does not override other theme modules */
.tgsm-section,.tgsm-section *{box-sizing:border-box}
.tgsm-section{
  --tgsm-navy:#0c2545;--tgsm-orange:#fa6718;--tgsm-border:#cfd9e9;
  background:radial-gradient(ellipse 90% 62% at 50% 43%,#fff 0%,#f5f8fd 74%,#eaf2fc 100%);
  padding:58px 20px 62px;
  width:100%;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
.tgsm-shell{width:100%;max-width:1210px;margin:0 auto}
.tgsm-heading{text-align:center;margin:0 auto 31px}
.tgsm-eyebrow{display:flex;align-items:center;justify-content:center;gap:21px;margin:0 0 9px!important;color:#ed6015!important;font-size:15px!important;font-weight:900;letter-spacing:.16em;line-height:1.4}
.tgsm-eyebrow span{width:47px;height:2px;background:linear-gradient(90deg,transparent,#f56e2b)}
.tgsm-eyebrow span:last-child{transform:rotate(180deg)}
.tgsm-heading h2{margin:0!important;color:var(--tgsm-navy)!important;font-size:clamp(32px,3.8vw,49px)!important;font-weight:850;letter-spacing:-.045em;line-height:1.12;text-wrap:balance}
.tgsm-swoosh{width:145px;height:13px;border-top:4px solid var(--tgsm-orange);border-radius:70% 70% 0 0;margin:13px auto 0;transform:rotate(-1deg)}
.tgsm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;align-items:stretch}
.tgsm-card{
 position:relative;overflow:hidden;isolation:isolate;
 display:flex;flex-direction:column;align-items:center;text-align:center;
 min-width:0;min-height:338px;padding:18px 16px 17px;
 background:linear-gradient(152deg,#fff 0%,#fcfdff 62%,#f5f8fc 100%);
 border:1px solid var(--tgsm-border);border-radius:24px;
 box-shadow:0 8px 16px rgba(19,43,79,.075),0 15px 30px rgba(11,37,69,.055);
 text-decoration:none!important;color:var(--tgsm-navy)!important;
 transition:transform .32s cubic-bezier(.2,.7,.2,1),box-shadow .32s ease,border-color .32s ease,background .32s ease;
}
.tgsm-card::before{content:"";position:absolute;inset:-80% -110%;z-index:-1;pointer-events:none;
 background:linear-gradient(130deg,transparent 43%,rgba(252,125,56,.09) 49%,rgba(255,255,255,.8) 52%,transparent 58%);
 transform:translateX(-70%) rotate(10deg);transition:transform .58s cubic-bezier(.2,.7,.2,1)}
.tgsm-image-wrap{
 display:flex;align-items:center;justify-content:center;flex:0 0 auto;
 width:min(100%,178px);height:158px;margin-bottom:7px;
 border-radius:25px;overflow:hidden;
 background:linear-gradient(135deg,#fff0e9,#edf5ff);
 transition:transform .34s ease,box-shadow .34s ease;
}
.tgsm-image-wrap img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.tgsm-placeholder{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(145deg,#e5effb,#ffe5d2);font-size:67px;color:#e66b21}
.tgsm-card h3{color:var(--tgsm-navy)!important;font-size:22px!important;font-weight:850;letter-spacing:-.028em;line-height:1.19;margin:0 0 6px!important}
.tgsm-card .tgsm-desc{color:#183151!important;line-height:1.38!important;font-size:13.6px!important;margin:0 auto 15px!important;max-width:234px;min-height:55px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-wrap:pretty}
.tgsm-cta{display:flex;align-items:center;justify-content:center;gap:10px;min-height:31px;max-width:100%;width:100%;margin-top:auto;padding:5px 9px;border:1px solid #fab58b;border-radius:100px;
 color:#e8500e!important;background:linear-gradient(180deg,#fff9f4,#fff1e8);font-size:12.5px;font-weight:800;line-height:1.25;transition:background .27s,color .27s,border-color .27s;white-space:nowrap}
.tgsm-arrow{font-size:19px;line-height:1;font-weight:800;transition:transform .27s ease}
.tgsm-card.tgsm-unlinked{cursor:default}
.tgsm-card.tgsm-linked:hover,.tgsm-card.tgsm-linked:focus-visible{transform:translateY(-9px);border-color:#ff8f52;
 background:linear-gradient(150deg,#fff 5%,#fffaf5 63%,#eef6ff 100%);
 box-shadow:0 20px 38px rgba(18,47,83,.16),0 7px 17px rgba(244,106,27,.12)}
.tgsm-card.tgsm-linked:hover::before,.tgsm-card.tgsm-linked:focus-visible::before{transform:translateX(75%) rotate(10deg)}
.tgsm-card.tgsm-linked:hover .tgsm-image-wrap,.tgsm-card.tgsm-linked:focus-visible .tgsm-image-wrap{transform:translateY(-3px) scale(1.055);box-shadow:0 7px 18px rgba(255,112,35,.14)}
.tgsm-card.tgsm-linked:hover .tgsm-cta,.tgsm-card.tgsm-linked:focus-visible .tgsm-cta{background:linear-gradient(110deg,#f77b26,#f45a17);border-color:#f4691e;color:#fff!important}
.tgsm-card.tgsm-linked:hover .tgsm-arrow{transform:translateX(4px)}
.tgsm-card.tgsm-linked:focus-visible{outline:3px solid #f58b47;outline-offset:4px}
.tgsm-card.tgsm-linked:active{transform:translateY(-3px) scale(.99)}
@media(min-width:1550px){.tgsm-shell{max-width:1320px}.tgsm-grid{gap:20px}.tgsm-card{min-height:360px}}
@media(max-width:1099px){.tgsm-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.tgsm-card{padding:14px 10px;min-height:315px}.tgsm-image-wrap{width:min(100%,154px);height:138px}.tgsm-card h3{font-size:19px!important}.tgsm-card .tgsm-desc{font-size:12.5px!important}.tgsm-cta{font-size:11.5px}}
@media(max-width:800px){.tgsm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.tgsm-shell{max-width:660px}.tgsm-section{padding:41px 16px 48px}.tgsm-card{min-height:320px;padding:17px 13px}.tgsm-image-wrap{width:min(100%,165px);height:148px}.tgsm-heading h2{font-size:clamp(26px,4.5vw,40px)!important}}
@media(max-width:480px){.tgsm-section{padding:38px 10px 44px}.tgsm-heading{margin-bottom:22px}.tgsm-eyebrow{font-size:11px!important;gap:12px;letter-spacing:.13em}.tgsm-eyebrow span{width:28px}.tgsm-heading h2{font-size:clamp(25px,7.1vw,32px)!important}.tgsm-swoosh{width:104px;height:10px;border-top-width:3px;margin-top:10px}.tgsm-grid{gap:8px}.tgsm-card{min-height:258px;border-radius:18px;padding:10px 7px 11px}.tgsm-image-wrap{width:min(100%,124px);height:108px;border-radius:17px;margin-bottom:7px}.tgsm-card h3{font-size:16px!important;margin-bottom:4px!important;line-height:1.2}.tgsm-card .tgsm-desc{font-size:10.4px!important;line-height:1.31!important;min-height:41px;margin:0 auto 8px!important;max-width:160px}.tgsm-cta{font-size:10px;min-height:27px;padding:4px 6px;gap:5px}.tgsm-arrow{font-size:15px}}
@media(max-width:350px){.tgsm-card{padding:10px 5px;min-height:260px}.tgsm-image-wrap{width:min(100%,104px);height:94px}.tgsm-card h3{font-size:14px!important}.tgsm-cta{font-size:9px}}
@media(prefers-reduced-motion:reduce){.tgsm-card,.tgsm-card::before,.tgsm-image-wrap,.tgsm-cta,.tgsm-arrow{transition:none!important}}
