/* T.G.T. public hubs — page-scoped refinements, v0.9.19. */
:is(.tgt-services-hub,.tgt-contact-hub,.tgt-investment-hub,.tgt-investment-detail,.tgt-golden-compare,.tgt-golden-form-shell,.tgt-blog-hub,.tgt-references--page,.tgt-portfolio-hub),
:is(.tgt-services-hub,.tgt-contact-hub,.tgt-investment-hub,.tgt-investment-detail,.tgt-golden-compare,.tgt-golden-form-shell,.tgt-blog-hub,.tgt-references--page,.tgt-portfolio-hub) *{box-sizing:border-box;min-width:0}

/* Knowledge Center: every stage now shares one centered column and left edge. */
.post-type-archive-tgt_guide .tgt-knowledge{box-sizing:border-box;width:min(100% - 40px,1180px);max-width:1180px;margin-inline:auto!important;padding-inline:0!important}
.post-type-archive-tgt_guide .tgt-knowledge>:is(.tgt-knowledge__hero,.tgt-knowledge__topics,.tgt-knowledge__latest,.tgt-knowledge__cta){box-sizing:border-box;width:min(100%,960px);max-width:960px!important;margin-inline:auto!important;padding-inline:0!important}
.post-type-archive-tgt_guide .tgt-knowledge__hero>*{max-width:100%!important;margin-inline:0!important}
.post-type-archive-tgt_guide .tgt-knowledge__topics>.tgt-knowledge__topic-grid{width:100%;max-width:100%!important}

/* Blog: editorial rows replace tall columns; content height is never forced. */
.tgt-blog-hub{width:min(100% - 40px,1080px);max-width:1080px}
.tgt-blog-hub__hero{max-width:900px;padding:12px 0 clamp(36px,5vw,58px)}
.tgt-blog-hub__hero h1{font-size:clamp(2.7rem,5vw,4.7rem)}
.tgt-blog-grid{display:grid;grid-template-columns:1fr!important;gap:0;border-top:1px solid #dde4ed}
.tgt-blog-card{display:grid!important;grid-template-columns:180px minmax(0,1fr);gap:28px;height:auto!important;min-height:0;padding:26px 0;border:0;border-bottom:1px solid #dde4ed;border-radius:0;background:transparent;box-shadow:none}
.tgt-blog-card__visual{display:grid;width:180px;aspect-ratio:1/1;overflow:hidden;place-items:center;border-radius:18px;background:linear-gradient(145deg,#0d2346,#1d4776);text-decoration:none}
.tgt-blog-card__visual img{display:block;width:100%;height:100%;object-fit:cover}
.tgt-blog-card__brand{display:block;width:88px}
.tgt-blog-card__brand svg{display:block;width:100%;height:auto}
.tgt-blog-card__body{display:flex;flex-direction:column;justify-content:center;padding:4px 0}
.tgt-blog-card__meta{margin:0 0 9px;font-size:.72rem;letter-spacing:.1em}
.tgt-blog-card h2{max-width:740px;margin:0 0 9px;font-size:clamp(1.45rem,2.5vw,2rem);line-height:1.16}
.tgt-blog-card__body>p:not(.tgt-blog-card__meta){max-width:760px;margin:0;color:#5f6d82;font-size:1rem;line-height:1.65}
.tgt-blog-card__link{margin:13px 0 0!important;padding:0!important;align-self:flex-start}
.tgt-blog-property-search{margin-top:clamp(52px,7vw,82px);padding-top:clamp(40px,5vw,60px);border-top:1px solid #dce4ed}
.tgt-blog-property-search__heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.65fr);gap:36px;align-items:end;margin-bottom:24px}
.tgt-blog-property-search__heading h2{margin:.12em 0 0;color:#10213f;font-size:clamp(2rem,3.8vw,3.3rem);line-height:1.05;letter-spacing:-.04em}
.tgt-blog-property-search__heading>p{margin:0;color:#5e6b80;line-height:1.65}
.tgt-blog-property-search__track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.tgt-blog-property-search__track>a{position:relative;display:flex;min-height:228px;flex-direction:column;padding:22px;border:1px solid #dce3ec;border-radius:18px;color:#10213f;background:#fff;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease}
.tgt-blog-property-search__track>a:nth-child(1){border-top:4px solid #6c9de8;background:#eef4ff}.tgt-blog-property-search__track>a:nth-child(2){border-top:4px solid #74b486;background:#eff8f1}.tgt-blog-property-search__track>a:nth-child(3){border-top:4px solid #e0a148;background:#fff5e5}.tgt-blog-property-search__track>a:nth-child(4){border-top:4px solid #9a87dd;background:#f3efff}
.tgt-blog-property-search__track>a:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(12,29,58,.09)}
.tgt-blog-property-search__track span{color:#b37a34;font-size:.74rem;font-weight:850;letter-spacing:.08em}.tgt-blog-property-search__track strong{margin-top:30px;font-size:1.18rem;line-height:1.25}.tgt-blog-property-search__track small{margin-top:9px;color:#5d6b80;font-size:.9rem;line-height:1.5}.tgt-blog-property-search__track b{margin-top:auto;font-size:1.25rem}

/* References: repair the viewport-wide drift without hiding unrelated overflow. */
.tgt-references--page{position:static!important;left:auto!important;right:auto!important;transform:none!important;width:min(100% - 40px,1180px)!important;max-width:1180px!important;margin-inline:auto!important;padding-inline:0!important;overflow:clip}
.tgt-references--page>.tgt-shell{box-sizing:border-box;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
.tgt-references--page .tgt-references__heading{width:100%;max-width:100%}
.tgt-references--page .tgt-reference-grid{width:100%;max-width:100%;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible}
.tgt-references--page .tgt-reference-logo{width:auto;max-width:100%}

/* Portfolio: preserve contrast on every empty-state descendant. */
.tgt-portfolio-hub{position:static!important;left:auto!important;transform:none!important;width:min(100% - 40px,1180px)!important;max-width:1180px!important}
.tgt-portfolio-hub__hero :is(.tgt-eyebrow,h1,p),.tgt-portfolio-empty :is(.tgt-eyebrow,h3,p){color:#fff!important;opacity:1!important}
.tgt-portfolio-hub__hero>p:not(.tgt-eyebrow),.tgt-portfolio-empty>div>p:not(.tgt-eyebrow){color:#dce6f4!important}
.tgt-portfolio-hub__hero .tgt-eyebrow,.tgt-portfolio-empty .tgt-eyebrow{color:#efb462!important}
.tgt-portfolio-empty{background:radial-gradient(circle at 88% 18%,rgba(215,166,91,.18),transparent 32%),linear-gradient(135deg,#091a36,#183c69)!important}
.tgt-portfolio-empty .tgt-button--ghost{color:#fff!important}

/* Shared hubs. */
:is(.tgt-services-hub,.tgt-contact-hub,.tgt-investment-hub,.tgt-investment-detail,.tgt-golden-compare){width:min(100% - 40px,1080px);max-width:1080px;margin-inline:auto}
.tgt-public-hub-hero{max-width:900px;padding:clamp(46px,7vw,82px) 0 clamp(38px,5vw,58px)}
.tgt-public-hub-hero h1{max-width:900px;margin:.12em 0 .28em;color:#0c1d3a;font-size:clamp(2.65rem,5.2vw,4.8rem);font-weight:750;letter-spacing:-.05em;line-height:1.02}
.tgt-public-hub-hero>p:last-child{max-width:850px;margin:0;color:#5c6b82;font-size:clamp(1.02rem,1.55vw,1.2rem);line-height:1.7}
.tgt-public-section-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.65fr);gap:36px;align-items:end;margin-bottom:26px}
.tgt-public-section-heading h2{margin:.1em 0 0;color:#10213f;font-size:clamp(2rem,3.8vw,3.2rem);line-height:1.06;letter-spacing:-.04em}
.tgt-public-section-heading>p{margin:0;color:#5f6d82;line-height:1.65}
.tgt-public-hub-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:34px;align-items:center;margin:clamp(52px,7vw,78px) 0;padding:clamp(28px,4vw,42px);border-radius:22px;background:#f2ede4}
.tgt-public-hub-cta h2{margin:.12em 0 .25em;color:#10213f;font-size:clamp(1.8rem,3.2vw,2.7rem);line-height:1.08}.tgt-public-hub-cta p:last-child{max-width:720px;margin:0;color:#5d6b80;line-height:1.65}

/* Services directory. */
.tgt-services-directory{padding-top:4px}
.tgt-services-directory__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tgt-service-directory-card{display:grid;grid-template-columns:42px minmax(0,1fr) 38px;gap:16px;align-items:start;min-height:176px;padding:24px;border:1px solid #dce3ec;border-radius:16px;background:#fff}
.tgt-service-directory-card>span{color:#b67d37;font-size:.75rem;font-weight:850}.tgt-service-directory-card h3{margin:0 0 9px;color:#10213f;font-size:1.35rem;line-height:1.22}.tgt-service-directory-card p{margin:0;color:#5f6d82;line-height:1.58}.tgt-service-directory-card>a{display:grid;width:36px;height:36px;place-items:center;border:1px solid #cbd5e2;border-radius:50%;color:#10213f;text-decoration:none}

/* Contact: form-like proportions and consistent cards. */
.tgt-contact-routes__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tgt-contact-route{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 28px;gap:12px;align-items:start;min-height:148px;padding:24px;border:1px solid #dce3ec;border-radius:16px;color:#10213f;background:#fff;text-decoration:none}
.tgt-contact-route>span{color:#b67d37;font-size:.75rem;font-weight:850}.tgt-contact-route>strong{font-size:1.18rem;line-height:1.3}.tgt-contact-route>small{grid-column:2/3;color:#5f6d82;font-size:.92rem;line-height:1.5}.tgt-contact-route>b{grid-column:3;grid-row:1/3;font-size:1.25rem}
.tgt-contact-channels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:clamp(42px,6vw,68px) 0;background:#dce3ec;border:1px solid #dce3ec;border-radius:18px;overflow:hidden}
.tgt-contact-channels>a{display:flex;min-height:96px;flex-direction:column;justify-content:center;padding:22px;color:#10213f;background:#f8fafc;text-decoration:none}.tgt-contact-channels span{color:#6a778b;font-size:.76rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.tgt-contact-channels strong{margin-top:6px;font-size:1.05rem;overflow-wrap:anywhere}
.tgt-contact-hub .tgt-regional-contacts{width:100%;max-width:100%;margin:0 0 clamp(54px,8vw,90px);padding:0}

/* International investment hub. */
.tgt-investment-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tgt-investment-paths article{display:flex;min-height:236px;flex-direction:column;padding:26px;border:1px solid #dce3ec;border-top:4px solid #d7a65b;border-radius:18px;background:#fff}.tgt-investment-paths span{color:#b67d37;font-size:.75rem;font-weight:850}.tgt-investment-paths h2{margin:25px 0 10px;color:#10213f;font-size:1.4rem;line-height:1.22}.tgt-investment-paths p{margin:0;color:#5f6d82;line-height:1.6}.tgt-investment-paths a{margin-top:auto;padding-top:18px;color:#10213f;font-weight:800;text-decoration:none}
.tgt-investment-existing{margin-top:clamp(48px,7vw,78px)}
.tgt-investment-existing>:first-child{margin-top:0}
.tgt-investment-note{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 32px;align-items:center;margin:clamp(48px,7vw,78px) 0;padding:clamp(28px,4vw,40px);border-radius:20px;color:#fff;background:linear-gradient(135deg,#091a36,#183c69)}.tgt-investment-note strong{font-size:1.35rem}.tgt-investment-note p{max-width:760px;margin:0;color:#dce6f4;line-height:1.65}.tgt-investment-note .tgt-button{grid-column:2;grid-row:1/3;background:#fff;color:#10213f}

/* Investment detail: a full decision path rather than a thin content tab. */
.tgt-investment-detail{padding-top:30px}
.tgt-investment-detail__breadcrumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#6b788c;font-size:.86rem}.tgt-investment-detail__breadcrumb a{color:#24466f;font-weight:750;text-decoration:none}
.tgt-investment-detail .tgt-public-hub-hero{padding-top:clamp(34px,5vw,60px)}
.tgt-investment-detail__facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid #dce3ec;border-radius:18px;background:#dce3ec}.tgt-investment-detail__facts>div{display:flex;min-height:112px;flex-direction:column;justify-content:center;padding:20px;background:#f8fafc}.tgt-investment-detail__facts span{color:#718096;font-size:.7rem;font-weight:850;letter-spacing:.09em}.tgt-investment-detail__facts strong{margin-top:8px;color:#10213f;font-size:1rem;line-height:1.35}
.tgt-investment-detail__body{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(34px,7vw,76px);padding:clamp(54px,8vw,90px) 0}.tgt-investment-detail__body h2{margin:.12em 0 .3em;color:#10213f;font-size:clamp(2rem,3.8vw,3.2rem);line-height:1.06;letter-spacing:-.04em}.tgt-investment-detail__body>div>p:last-child{margin:0;color:#5f6d82;line-height:1.68}.tgt-investment-detail__body ol{display:grid;gap:0;margin:0;padding:0;counter-reset:tgt-investment-step;list-style:none}.tgt-investment-detail__body li{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:4px 14px;padding:20px 0;border-top:1px solid #dce3ec;counter-increment:tgt-investment-step}.tgt-investment-detail__body li:before{grid-row:1/3;content:counter(tgt-investment-step,decimal-leading-zero);color:#b67d37;font-size:.76rem;font-weight:850}.tgt-investment-detail__body li strong{color:#10213f;font-size:1.05rem}.tgt-investment-detail__body li span{grid-column:2;color:#5f6d82;line-height:1.55}

/* Golden Visa: meaningful comparison before the unchanged application form. */
.tgt-golden-compare__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tgt-golden-compare__grid article{padding:24px;border:1px solid #dce3ec;border-radius:17px;background:#fff}.tgt-golden-compare__grid article>div{display:flex;justify-content:space-between;gap:18px}.tgt-golden-compare__grid span{color:#10213f;font-size:.78rem;font-weight:850;letter-spacing:.08em}.tgt-golden-compare__grid b{padding:4px 8px;border-radius:999px;color:#176340;background:#e4f5eb;font-size:.68rem;letter-spacing:.06em}.tgt-golden-compare__grid .is-closed{background:#f7f8fa}.tgt-golden-compare__grid .is-closed b{color:#80552c;background:#f3e7d9}.tgt-golden-compare__grid h2{margin:24px 0 9px;color:#10213f;font-size:1.27rem;line-height:1.25}.tgt-golden-compare__grid p{margin:0;color:#5f6d82;line-height:1.58}
.tgt-golden-compare__note{margin:18px 0 0;padding:16px 18px;border-left:4px solid #d7a65b;color:#56667d;background:#f7f9fc;font-size:.9rem;line-height:1.6}
.tgt-golden-form-heading{padding:clamp(50px,7vw,78px) 0 24px}.tgt-golden-form-heading h2{margin:.12em 0 .28em;color:#10213f;font-size:clamp(2rem,3.8vw,3rem);line-height:1.08;letter-spacing:-.04em}.tgt-golden-form-heading>p:last-child{max-width:800px;margin:0;color:#5f6d82;line-height:1.65}
.tgt-golden-form-shell{position:static!important;left:auto!important;transform:none!important;width:min(100% - 40px,900px)!important;max-width:900px!important;margin:0 auto clamp(54px,8vw,90px)!important}
.tgt-page-golden-visa .tgt-golden-form-shell>:is(.tgt-translated-title,.tgt-translated-content){width:100%;max-width:100%}
.tgt-page-golden-visa .tgt-application-form :is(fieldset,.tgt-field,.tgt-country-list,.tgt-country-options,.tgt-country-picker__list):has(input[name*="countr"]),
.tgt-page-golden-visa .tgt-application-form :is(fieldset,.tgt-field):has(input[name*="ulke"]){max-height:330px!important;overflow:auto!important;scrollbar-gutter:stable;padding-block:16px!important}
.tgt-page-golden-visa .tgt-application-form :is(fieldset,.tgt-field):has(input[name*="countr"]) label,
.tgt-page-golden-visa .tgt-application-form :is(fieldset,.tgt-field):has(input[name*="ulke"]) label{min-height:48px!important;padding-block:8px!important}

html[dir="rtl"] :is(.tgt-golden-compare__note){border-right:4px solid #d7a65b;border-left:0}
/* Keep the form anti-spam field invisible without moving it thousands of
 * pixels off canvas. The previous left:-9999px technique created a real
 * horizontal document overflow in RTL/Arabic layouts. */
.tgt-page-golden-visa .tgt-honeypot{position:absolute!important;inset:auto!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}

@media(max-width:900px){
  .tgt-blog-property-search__track{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tgt-references--page .tgt-reference-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:720px){
  .post-type-archive-tgt_guide .tgt-knowledge{width:min(100% - 28px,1180px)}
  :is(.tgt-services-hub,.tgt-contact-hub,.tgt-investment-hub,.tgt-investment-detail,.tgt-golden-compare,.tgt-blog-hub,.tgt-references--page,.tgt-portfolio-hub){width:min(100% - 28px,1080px)!important}
  .tgt-public-hub-hero{padding:34px 0}.tgt-public-hub-hero h1{font-size:clamp(2.2rem,10vw,3rem)}
  .tgt-blog-card{grid-template-columns:108px minmax(0,1fr);gap:18px;padding:20px 0}.tgt-blog-card__visual{width:108px;border-radius:14px}.tgt-blog-card__brand{width:64px}.tgt-blog-card h2{font-size:1.2rem}.tgt-blog-card__body>p:not(.tgt-blog-card__meta){display:none}
  .tgt-blog-property-search__heading,.tgt-public-section-heading{grid-template-columns:1fr;gap:12px}
  .tgt-blog-property-search__track,.tgt-services-directory__grid,.tgt-contact-routes__grid,.tgt-investment-paths,.tgt-golden-compare__grid{grid-template-columns:1fr}
  .tgt-blog-property-search__track>a{min-height:184px}
  .tgt-service-directory-card{grid-template-columns:34px minmax(0,1fr) 36px;min-height:0;padding:20px}
  .tgt-public-hub-cta,.tgt-investment-note{grid-template-columns:1fr}.tgt-public-hub-cta .tgt-button,.tgt-investment-note .tgt-button{width:100%;text-align:center}.tgt-investment-note .tgt-button{grid-column:auto;grid-row:auto}
  .tgt-contact-channels{grid-template-columns:1fr}
  .tgt-investment-detail__facts{grid-template-columns:repeat(2,minmax(0,1fr))}.tgt-investment-detail__body{grid-template-columns:1fr;gap:30px}
  .tgt-references--page .tgt-references__heading{grid-template-columns:1fr;gap:16px}.tgt-references--page .tgt-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tgt-golden-form-shell{width:min(100% - 28px,900px)!important}
}
@media(max-width:420px){.tgt-blog-card{grid-template-columns:86px minmax(0,1fr);gap:14px}.tgt-blog-card__visual{width:86px}.tgt-blog-card__meta{font-size:.64rem}.tgt-blog-card h2{font-size:1.08rem}.tgt-reference-logo{padding:10px}}
