/* City content has one explicit layout. The shared header, buttons, footer and sky stay shared. */
html[data-trendi-mode] body.trendi-city-layout-page #ajax-content-wrap > .iner-page{padding:0!important;}
html[data-trendi-mode] body.trendi-city-layout-page #ajax-content-wrap > .iner-page > .container{width:100%!important;max-width:none!important;padding:0!important;}

/* Two real IDs keep this component independent of the legacy generic presentation layers. */
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content{
 --city-ink:#f4f8ff;--city-copy:#c4d2e6;--city-muted:#a9bdd7;--city-accent:#90c6ff;
 --city-line:rgba(154,190,233,.25);--city-card:rgba(19,36,59,.48);
 --tm-ink:var(--city-ink);--tm-muted:var(--city-copy);--tm-blue:var(--city-accent);--th-muted:var(--city-copy);
 color:var(--city-copy);font-family:"DM Sans",sans-serif;overflow-wrap:break-word;
}
html[data-trendi-mode="light"] body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content{
 --city-ink:#152840;--city-copy:#405774;--city-muted:#475e7c;--city-accent:#205aa5;
 --city-line:rgba(46,85,135,.23);--city-card:rgba(255,255,255,.78);
}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content :is(.tcl-content,.tcl-section){background:transparent!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content *{box-sizing:border-box;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content :is(.th-wrap,.legal-lead){width:min(1180px,calc(100% - 80px))!important;max-width:1180px!important;margin-inline:auto!important;}
/* Keep existing case-study, project-preview and search-demo palettes intact. */
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content :is(h1,h2,h3,h4):not(:where(.tr-results *,.td-project-visual *,.td-query *)){font-family:"DM Sans",sans-serif!important;color:var(--city-ink)!important;font-weight:500!important;text-transform:none!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content :is(p,li):not(:where(.tr-results *,.td-project-visual *,.td-query *)){color:var(--city-copy)!important;font-size:17px!important;line-height:1.78!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content p:not(:where(.tr-results *,.td-project-visual *,.td-query *)){max-width:72ch;margin:0 0 22px!important;padding:0!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content :is(a:not(:where(.th-btn,.tc-btn,.nectar-button)),.th-eyebrow):not(:where(.tr-results *,.td-project-visual *,.td-query *)){color:var(--city-accent)!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content a:not(:where(.th-btn,.tc-btn,.nectar-button)):not(:where(.tr-results *,.td-project-visual *,.td-query *)){text-underline-offset:5px;text-decoration-thickness:1px;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content a:not(:where(.th-btn,.tc-btn,.nectar-button)):not(:where(.tr-results *,.td-project-visual *,.td-query *)):hover{color:var(--city-ink)!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .th-eyebrow{font-size:11px!important;line-height:1.6!important;letter-spacing:.16em!important;text-transform:uppercase!important;font-weight:600!important;margin:0 0 20px!important;}

body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-hero{padding:clamp(152px,12vw,184px) 0 68px!important;border-bottom:1px solid var(--city-line)!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-hero-inner{text-align:left!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-title{font-size:clamp(42px,5.3vw,78px)!important;line-height:1.07!important;letter-spacing:-.045em!important;max-width:none!important;margin:0 0 28px!important;text-wrap:balance;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-title-place{display:block;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content :is(.tcl-title-accent,.tcl-title em){color:var(--city-accent)!important;font-style:normal!important;font-weight:inherit!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-title-accent{display:block;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-hero p:not(.th-eyebrow){font-size:18px!important;line-height:1.7!important;max-width:65ch!important;margin:0 0 30px!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-hero .city-actions{justify-content:flex-start!important;}

body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-service-nav{display:flex;flex-wrap:wrap;gap:8px 28px;width:min(1180px,calc(100% - 80px));margin:0 auto!important;padding:18px 0!important;border-top:0!important;border-bottom:1px solid var(--city-line)!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-service-nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 0!important;border:0!important;border-bottom:2px solid transparent!important;color:var(--city-muted)!important;font-size:14px!important;line-height:1.5!important;text-decoration:none!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-service-nav a[aria-current="page"]{color:var(--city-accent)!important;border-bottom-color:var(--city-accent)!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-service-nav a:hover{color:var(--city-ink)!important;}

body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-section{padding:72px 0!important;border-bottom:1px solid var(--city-line)!important;scroll-margin-top:150px;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-section h2{font-size:clamp(31px,3.15vw,48px)!important;line-height:1.17!important;letter-spacing:-.035em!important;max-width:26ch;margin:0 0 28px!important;text-wrap:balance;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-section h3{font-size:clamp(22px,2vw,28px)!important;line-height:1.3!important;letter-spacing:-.02em!important;margin:28px 0 14px!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch;margin:32px 0 0;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-card{min-width:0;padding:30px;border:1px solid var(--city-line);background:var(--city-card);border-radius:4px;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-card h3{margin:0 0 16px!important;font-size:clamp(22px,2vw,27px)!important;line-height:1.3!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-card p{font-size:16px!important;line-height:1.75!important;margin:0 0 20px!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-card > :last-child{margin-bottom:0!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-card > a:not(:where(.th-btn,.tc-btn,.nectar-button)){display:inline-block;font-size:15px!important;line-height:1.6!important;padding:5px 0;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-section :is(ul,ol){max-width:76ch;margin:24px 0 28px!important;padding-left:24px!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-section li{padding-left:4px!important;margin:0 0 16px!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-section li strong{color:var(--city-ink)!important;font-weight:600;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .td-source{font-size:13px!important;line-height:1.75!important;color:var(--city-muted)!important;margin-top:26px!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .td-parent-link{font-size:14px!important;color:var(--city-muted)!important;margin-bottom:28px!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tm-shared-guides{padding-top:56px!important;}

body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .td-local details:not(.td-journey){margin:14px 0!important;padding:0!important;border:1px solid var(--city-line)!important;background:var(--city-card)!important;border-radius:4px!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .td-local details:not(.td-journey)>summary{padding:22px 64px 22px 24px!important;font-size:20px!important;line-height:1.5!important;min-height:0!important;color:var(--city-ink)!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .td-local details:not(.td-journey)>summary::after{right:24px!important;top:22px!important;color:var(--city-accent)!important;transform:none!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .td-local details:not(.td-journey)>p{max-width:none!important;margin:0!important;padding:0 24px 24px!important;font-size:16px!important;line-height:1.75!important;}
body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content :is(a,summary):focus-visible{outline:2px solid var(--city-accent)!important;outline-offset:5px;}

@media(max-width:760px){
 body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content :is(.th-wrap,.legal-lead){width:calc(100% - 40px)!important;}
 body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-hero{padding:136px 0 48px!important;}
 body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-title{font-size:clamp(37px,7.6vw,56px)!important;line-height:1.1!important;letter-spacing:-.04em!important;margin-bottom:24px!important;}
 body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-hero p:not(.th-eyebrow){font-size:17px!important;margin-bottom:26px!important;}
 body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-service-nav{width:calc(100% - 40px);gap:4px 22px;padding:14px 0!important;}
 body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-service-nav a{font-size:13px!important;}
 body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-section{padding:48px 0!important;scroll-margin-top:110px;}
 body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-section h2{font-size:32px!important;line-height:1.2!important;margin-bottom:24px!important;}
 body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-card-grid{grid-template-columns:1fr;gap:18px;margin-top:26px;}
 body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-card{padding:24px;}
 body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content :is(p,li):not(:where(.tr-results *,.td-project-visual *,.td-query *)){font-size:16px!important;line-height:1.75!important;}
 body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .td-local details:not(.td-journey)>summary{font-size:18px!important;padding:20px 54px 20px 20px!important;}
 body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .td-local details:not(.td-journey)>summary::after{top:20px!important;right:20px!important;}
 body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .td-local details:not(.td-journey)>p{padding:0 20px 20px!important;}
}

/* The compact header is fixed. Reserve its space before the city content,
   matching the normal interior template's flow at phone and tablet widths. */
@media(max-width:1000px){
 body.trendi-atmosphere.trendi-city-layout-page.page-id-1324 #ajax-content-wrap #trendi-city-content{padding-top:148px!important;}
 body.trendi-atmosphere.trendi-city-layout-page #ajax-content-wrap #trendi-city-content .tcl-hero{padding:54px 0 48px!important;}
}
