/* TREND PUBLICATION LAYER (r1107news, 2026-11-07). One shared masthead / section nav / front page / footer design for every
   Trend News Group title: lawyerstrend, doctorstrend, dentisttrend, surgeonstrend, chiropractorstrend, physicianstrend, jewelerstrend
   and trendnewsgroup.com. Source of truth: /etc/shak-leads/trendpub.css, copied into each docroot as /assets/trendpub.css by
   /root/bin/trendpub-deploy.sh. House language v1 "Instrument": white ground, black hairlines, Instrument Serif display only,
   Geist body, Geist Mono labels, one accent (signal red), no radii, no shadows, orphans centered. Prefix: tp- */
:root{--tp-bg:#fff;--tp-bg2:#f4f4f4;--tp-ink:#0a0a0a;--tp-ink2:#3a3a3a;--tp-muted:#666;--tp-hair:#0a0a0a;--tp-soft:#e5e5e5;--tp-accent:#c8102e;--tp-accent2:#a30d25;
  --tp-serif:'Instrument Serif',Georgia,'Times New Roman',serif;--tp-sans:'Geist',Inter,system-ui,-apple-system,'Segoe UI',sans-serif;--tp-mono:'Geist Mono','JetBrains Mono',ui-monospace,Menlo,monospace;
  --tp-ease:cubic-bezier(.16,1,.3,1);--tp-t:180ms;--tp-wrap:1280px;--tp-gutter:24px;--tp-macro:3.25rem}
@media(max-width:860px){:root{--tp-macro:2.5rem;--tp-gutter:16px}}
.tp-wrap{max-width:var(--tp-wrap);margin:0 auto;padding:0 var(--tp-gutter);box-sizing:border-box}
.tp-mono,.tp-kicker,.tp-byline,.tp-strip,.tp-nav a,.tp-btn,.tp-foot__h,.tp-foot__legal,.tp-sec__link,.tp-label{font-family:var(--tp-mono);font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;font-weight:400}
.tp-kicker{color:var(--tp-accent);margin:0 0 .6em}
.tp-kicker a{color:inherit;text-decoration:none}
.tp-byline{color:var(--tp-muted);text-transform:none;letter-spacing:.02em;font-size:.74rem;margin:.75em 0 0}
.tp-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;min-height:44px;padding:0 1.25em;background:var(--tp-ink);color:#fff!important;text-decoration:none!important;border:1px solid var(--tp-ink);border-radius:0;box-shadow:none;cursor:pointer;transition:background var(--tp-t) var(--tp-ease),border-color var(--tp-t) var(--tp-ease),transform var(--tp-t) var(--tp-ease)}
.tp-btn:hover{background:var(--tp-accent);border-color:var(--tp-accent)}
.tp-btn--ghost{background:transparent;color:var(--tp-ink)!important}
.tp-btn--ghost:hover{background:var(--tp-ink);color:#fff!important;border-color:var(--tp-ink)}
.tp-btn:focus-visible,.tp-nav a:focus-visible,.tp-mast__brand:focus-visible,.tp-foot a:focus-visible,.tp-strip a:focus-visible{outline:2px solid var(--tp-accent);outline-offset:3px}

/* ---- top strip ---- */
.tp-strip{background:var(--tp-bg);color:var(--tp-muted);border-bottom:1px solid var(--tp-soft);font-size:.68rem}
.tp-strip .tp-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:32px}
.tp-strip a{color:var(--tp-ink);text-decoration:none;border-bottom:1px solid transparent;transition:border-color var(--tp-t) var(--tp-ease)}
.tp-strip a:hover{border-color:var(--tp-accent)}
.tp-strip__right{display:flex;align-items:center;gap:18px}
.tp-strip__tag{color:var(--tp-muted)}
.tp-lang a[aria-current]{color:var(--tp-ink);border-bottom-color:var(--tp-ink)}
.tp-lang span{margin:0 .35em;color:var(--tp-soft)}
@media(max-width:860px){.tp-strip__tag{display:none}}
@media(max-width:560px){.tp-strip .tp-wrap{min-height:30px}.tp-strip__net{display:none}}

/* ---- masthead ---- */
.tp-mast{background:var(--tp-bg)}
.tp-mast__in{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:80px;gap:16px}
.tp-mast__brand{grid-column:2;display:block;color:var(--tp-ink);text-decoration:none;line-height:0}
.tp-mast__brand .tn-wm,.tp-mast__brand svg,.tp-mast__brand img{height:34px;width:auto;display:block;max-width:100%;overflow:visible}
.tp-mast__left{grid-column:1;justify-self:start;color:var(--tp-muted);font-family:var(--tp-mono);font-size:.68rem;letter-spacing:.04em}
.tp-mast__right{grid-column:3;justify-self:end;display:flex;align-items:center;gap:10px}
.tp-mast__cta{min-height:40px;padding:0 1.1em}
@media(max-width:860px){.tp-mast__in{grid-template-columns:auto 1fr;min-height:60px}.tp-mast__brand{grid-column:1}.tp-mast__brand .tn-wm,.tp-mast__brand svg,.tp-mast__brand img{height:30px}.tp-mast__left{display:none}.tp-mast__right{grid-column:2}.tp-mast__cta{min-height:36px;font-size:.66rem;padding:0 .9em}}
@media(max-width:380px){.tp-mast__brand .tn-wm,.tp-mast__brand svg,.tp-mast__brand img{height:26px}}

/* ---- section nav ---- */
.tp-nav{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-top:1px solid var(--tp-hair);border-bottom:1px solid var(--tp-hair)}
.tp-nav ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:0;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.tp-nav ul::-webkit-scrollbar{display:none}
.tp-nav li{flex:none}
.tp-nav a{display:block;padding:0 16px;line-height:44px;color:var(--tp-ink);text-decoration:none;position:relative;white-space:nowrap}
.tp-nav a::after{content:"";position:absolute;left:16px;right:16px;bottom:9px;height:1px;background:var(--tp-ink);transform:scaleX(0);transform-origin:center;transition:transform var(--tp-t) var(--tp-ease)}
.tp-nav a:hover::after,.tp-nav a[aria-current]::after{transform:scaleX(1)}
.tp-nav a[aria-current]{color:var(--tp-ink)}
.tp-nav a.tp-nav__sponsor{color:var(--tp-accent)}
.tp-nav a.tp-nav__sponsor::after{background:var(--tp-accent)}
@media(max-width:860px){.tp-nav ul{flex-wrap:wrap;justify-content:center;overflow:visible;padding:2px 4px}.tp-nav a{padding:0 11px;line-height:38px;font-size:.68rem}.tp-nav a::after{bottom:7px;left:11px;right:11px}}

/* ---- front page ---- */
.tp-front{background:var(--tp-bg);color:var(--tp-ink)}
.tp-standfirst{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 32px;padding:18px 0 16px;border-bottom:1px solid var(--tp-soft)}
.tp-standfirst h1{font:400 clamp(1.5rem,2.2vw,1.85rem)/1.05 var(--tp-serif);letter-spacing:-.02em;margin:0;color:var(--tp-ink);text-align:left}
.tp-standfirst p{margin:0;color:var(--tp-muted);max-width:70ch;font:400 .9rem/1.45 var(--tp-sans)}
.tp-lead{display:grid;grid-template-columns:7fr 5fr;gap:40px;align-items:center;padding:36px 0 40px}
.tp-lead__media{display:block;position:relative;overflow:hidden;background:var(--tp-bg2)}
.tp-lead__media img,.tp-card__media img,.tp-row__media img{display:block;width:100%;height:auto;object-fit:cover;aspect-ratio:3/2;transition:transform 600ms var(--tp-ease)}
.tp-lead__media:hover img,.tp-card:hover img,.tp-row:hover img{transform:translateY(-3px)}
.tp-lead__title{font:400 clamp(2rem,3.6vw,3.1rem)/1 var(--tp-serif);letter-spacing:-.03em;margin:0;color:var(--tp-ink);text-align:left}
.tp-lead__title a,.tp-card__title a,.tp-row__title a{color:inherit;text-decoration:none}
.tp-lead__title a:hover,.tp-card__title a:hover,.tp-row__title a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.tp-lead__dek{font:400 1.0625rem/1.55 var(--tp-sans);color:var(--tp-ink2);margin:16px 0 0;max-width:52ch}
@media(max-width:860px){.tp-lead{grid-template-columns:1fr;gap:20px;padding:22px 0 26px}.tp-lead__dek{font-size:1rem}}
.tp-secondary{display:grid;grid-template-columns:repeat(3,1fr);gap:40px 32px;padding:32px 0 var(--tp-macro);border-top:1px solid var(--tp-hair)}
.tp-secondary--2{grid-template-columns:repeat(2,1fr)}
.tp-secondary--1{grid-template-columns:1fr}
.tp-secondary--4{grid-template-columns:repeat(4,1fr)}
@media(max-width:1024px){.tp-secondary,.tp-secondary--4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.tp-secondary,.tp-secondary--2,.tp-secondary--4{grid-template-columns:1fr;gap:28px}}
.tp-card{display:flex;flex-direction:column;min-width:0}
.tp-card__media{display:block;overflow:hidden;background:var(--tp-bg2);border-bottom:1px solid var(--tp-hair);margin-bottom:12px}
.tp-card__title{font:400 1.45rem/1.12 var(--tp-serif);letter-spacing:-.015em;margin:0;color:var(--tp-ink);text-align:left}
.tp-card__title--serif-lg{font-size:1.7rem}
.tp-card__dek{font:400 .95rem/1.5 var(--tp-sans);color:var(--tp-ink2);margin:8px 0 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
/* list rows (latest) */
.tp-rows{list-style:none;margin:0;padding:0}
.tp-row{display:grid;grid-template-columns:2fr 5fr;gap:24px;align-items:start;padding:22px 0;border-top:1px solid var(--tp-soft)}
.tp-row:first-child{border-top:0}
.tp-row__media{display:block;overflow:hidden;background:var(--tp-bg2)}
.tp-row__title{font:400 1.6rem/1.1 var(--tp-serif);letter-spacing:-.02em;margin:0;color:var(--tp-ink);text-align:left}
.tp-row__dek{margin:8px 0 0;color:var(--tp-ink2);font-size:.95rem;line-height:1.5}
@media(max-width:600px){.tp-row{grid-template-columns:1fr;gap:12px}.tp-row__media img{aspect-ratio:16/9}}

/* ---- sections ---- */
.tp-sec{border-top:1px solid var(--tp-hair);padding:40px 0 var(--tp-macro);background:var(--tp-bg);color:var(--tp-ink)}
.tp-sec--tone{background:var(--tp-bg2)}
.tp-sec__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 24px}
.tp-sec__head h2,.tp-sec__head .tp-h2{font:400 clamp(1.7rem,2.6vw,2.25rem)/1 var(--tp-serif);letter-spacing:-.025em;margin:0;color:var(--tp-ink);text-align:left}
.tp-sec__link{color:var(--tp-ink);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;white-space:nowrap}
.tp-sec__link:hover{color:var(--tp-accent)}
.tp-sec__lede{margin:-12px 0 24px;color:var(--tp-ink2);max-width:62ch}
/* browse lists: fixed-basis flex so wrapped orphans are centered (standing rule) */
.tp-browse{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:0 24px}
.tp-browse li{flex:0 0 calc(25% - 18px);max-width:calc(25% - 18px);border-top:1px solid var(--tp-soft)}
.tp-browse a{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:12px 0;color:var(--tp-ink);text-decoration:none;font:400 1rem/1.3 var(--tp-sans);transition:color var(--tp-t) var(--tp-ease)}
.tp-browse a:hover{color:var(--tp-accent)}
.tp-browse small{font-family:var(--tp-mono);font-size:.68rem;letter-spacing:.04em;color:var(--tp-muted);white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:1024px){.tp-browse li{flex-basis:calc(33.333% - 16px);max-width:calc(33.333% - 16px)}}
@media(max-width:700px){.tp-browse li{flex-basis:calc(50% - 12px);max-width:calc(50% - 12px)}}
@media(max-width:480px){.tp-browse li{flex-basis:100%;max-width:100%}}
.tp-browse--3 li{flex-basis:calc(33.333% - 16px);max-width:calc(33.333% - 16px)}
@media(max-width:700px){.tp-browse--3 li{flex-basis:calc(50% - 12px);max-width:calc(50% - 12px)}}
@media(max-width:480px){.tp-browse li,.tp-browse--3 li{flex-basis:calc(50% - 12px);max-width:calc(50% - 12px)}.tp-browse a{flex-wrap:wrap;gap:2px 10px;font-size:.95rem}.tp-browse a span{min-width:0}.tp-browse small{font-size:.62rem}}
/* sponsored placement */
.tp-sponsored{border:1px solid var(--tp-hair);padding:28px;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;background:var(--tp-bg)}
.tp-sponsored .tp-label{color:var(--tp-accent);margin:0 0 .5em;display:block}
.tp-sponsored h3{font:400 1.75rem/1.05 var(--tp-serif);letter-spacing:-.02em;margin:0 0 .4em;color:var(--tp-ink);text-align:left}
.tp-sponsored p{margin:0;color:var(--tp-ink2);max-width:60ch}
@media(max-width:700px){.tp-sponsored{grid-template-columns:1fr;padding:20px}}
/* network rail */
.tp-net__name{font-family:var(--tp-mono);font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;color:var(--tp-accent)}
/* form band */
.tp-formband{display:grid;grid-template-columns:5fr 7fr;gap:48px;align-items:start}
.tp-formband h2{font:400 clamp(1.7rem,2.6vw,2.25rem)/1 var(--tp-serif);letter-spacing:-.025em;margin:0 0 .5em;color:var(--tp-ink);text-align:left}
.tp-formband p{color:var(--tp-ink2)}
@media(max-width:860px){.tp-formband{grid-template-columns:1fr;gap:20px}}
.tp-reveal{transition:transform 500ms var(--tp-ease)}
.js-reveal .tp-reveal:not(.is-in){transform:translateY(10px)}
@media(prefers-reduced-motion:reduce){.tp-reveal{opacity:1;transform:none;transition:none}.tp-lead__media img,.tp-card__media img,.tp-row__media img{transition:none}}

/* ---- footer (one shared option) ---- */
.tp-foot{background:var(--tp-bg);color:var(--tp-ink);border-top:1px solid var(--tp-hair);margin-top:0;font-family:var(--tp-sans);text-align:center}
.tp-foot__top{padding:36px 0 8px;text-align:center}
.tp-foot__brand{display:inline-block;color:var(--tp-ink);line-height:0}
.tp-foot__brand .tn-wm,.tp-foot__brand svg,.tp-foot__brand img{height:28px;width:auto;display:block;overflow:visible}
.tp-foot__tag{margin:12px 0 0;color:var(--tp-muted);font-family:var(--tp-mono);font-size:.7rem;letter-spacing:.06em;text-transform:uppercase}
.tp-foot__cols{display:flex;flex-wrap:wrap;justify-content:center;gap:28px 32px;padding:28px 0 8px;text-align:left}
.tp-foot__col{flex:0 0 calc(20% - 26px);max-width:calc(20% - 26px);min-width:150px}
.tp-foot__h{display:block;color:var(--tp-ink);margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid var(--tp-hair)}
.tp-foot__col ul{list-style:none;margin:0;padding:0}
.tp-foot__col li{margin:0 0 7px;font-size:.92rem;line-height:1.4}
.tp-foot__col a{color:var(--tp-ink2);text-decoration:none;border-bottom:1px solid transparent;transition:color var(--tp-t) var(--tp-ease),border-color var(--tp-t) var(--tp-ease)}
.tp-foot__col a:hover{color:var(--tp-ink);border-color:var(--tp-accent)}
.tp-foot__col small{display:block;color:var(--tp-muted);font-size:.78rem}
@media(max-width:1024px){.tp-foot__col{flex-basis:calc(33.333% - 22px);max-width:calc(33.333% - 22px)}}
@media(max-width:640px){.tp-foot__col{flex-basis:calc(50% - 16px);max-width:calc(50% - 16px);min-width:0}}
@media(max-width:360px){.tp-foot__col{flex-basis:100%;max-width:100%}}
.tp-foot__social{display:flex;justify-content:center;gap:10px;padding:18px 0 4px}
.tp-foot__social a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid var(--tp-hair);color:var(--tp-ink);transition:background var(--tp-t) var(--tp-ease),color var(--tp-t) var(--tp-ease)}
.tp-foot__social a:hover{background:var(--tp-ink);color:#fff}
.tp-foot__social svg{width:16px;height:16px;fill:currentColor}
.tp-foot__legal{background:var(--tp-bg2);border-top:1px solid var(--tp-hair);margin-top:24px;padding:18px 0;color:var(--tp-ink2);text-transform:none;letter-spacing:.01em;font-size:.72rem;line-height:1.7;text-align:center}
.tp-foot__legal p{margin:0 auto;max-width:900px}
.tp-foot__legal p+p{margin-top:.6em}
.tp-foot__legal strong{color:var(--tp-ink);font-weight:500}
.tp-foot__bottom{padding:18px 0 26px;text-align:center;font-family:var(--tp-mono);font-size:.68rem;letter-spacing:.05em;color:var(--tp-muted);text-transform:uppercase}
.tp-foot__bottom p{margin:0 0 14px}
.tp-foot__bottom a{color:var(--tp-ink);text-decoration:none}
.tp-foot__bottom a:hover{color:var(--tp-accent)}
.tp-credit{display:inline-block;line-height:0}
.tp-credit img{width:26px;height:26px;display:block;opacity:.85;transition:opacity var(--tp-t) var(--tp-ease)}
.tp-credit:hover img{opacity:1}
