/* TNC History Timeline: matches the "Our History" band in the mockup. Colors and sizes come from the widget's Style tab via the variables below. */
.tnc-htl{
  --tnc-htl-bg:#001A72; --tnc-htl-accent:#E57200; --tnc-htl-heading:#FFFFFF; --tnc-htl-text:#C8CEE6;
  --tnc-htl-dot:#1A2F85; --tnc-htl-line:rgba(255,255,255,.2); --tnc-htl-wrap:1240px;
  --tnc-htl-pad:clamp(56px, 4vw + 28px, 88px);
  --tnc-htl-gut:max(16px, calc((100vw - var(--tnc-htl-wrap)) / 2));
  background:var(--tnc-htl-bg); color:#FFFFFF; overflow:hidden;
  padding-block:var(--tnc-htl-pad);
  font-family:"Montserrat","Segoe UI",Roboto,Helvetica,Arial,sans-serif; line-height:1.65;
}
.tnc-htl *,.tnc-htl *::before,.tnc-htl *::after{box-sizing:border-box}

/* heading + arrows */
.tnc-htl .tnc-htl-intro{max-width:var(--tnc-htl-wrap);margin:0 auto clamp(40px,4vw,64px);padding-inline:16px;display:flex;justify-content:space-between;align-items:flex-end;gap:32px;box-sizing:content-box}
.tnc-htl .tnc-htl-head{display:flex;flex-direction:column;gap:16px;max-width:min(700px,100%);min-width:0}
.tnc-htl .tnc-htl-heading{margin:0;padding:0;color:var(--tnc-htl-heading);font-family:"Libre Baskerville",Georgia,serif;font-weight:700;font-size:clamp(1.6rem,1.3rem + 1vw,2.15rem);line-height:1.15;letter-spacing:-.01em;text-transform:none}
.tnc-htl .tnc-htl-lead{margin:0;color:var(--tnc-htl-text);font-size:clamp(1rem,.97rem + .2vw,1.1rem);line-height:1.7}
.tnc-htl .tnc-htl-arrows{display:flex;gap:10px;flex:none}
.tnc-htl .tnc-htl-arrow,.tnc-htl .tnc-htl-arrow:focus{width:44px;height:44px;min-height:0;margin:0;padding:0;border-radius:50%;border:0;box-shadow:none;background:rgba(255,255,255,.1);color:#FFFFFF;display:grid;place-items:center;cursor:pointer;transition:background-color .2s,opacity .2s}
.tnc-htl .tnc-htl-arrow:hover:not(:disabled){background:var(--tnc-htl-accent);color:#FFFFFF}
.tnc-htl .tnc-htl-arrow:focus-visible{outline:3px solid var(--tnc-htl-accent);outline-offset:3px}
.tnc-htl .tnc-htl-arrow:disabled{opacity:.3;cursor:default}
.tnc-htl .tnc-htl-arrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}

/* sideways list */
.tnc-htl .tnc-htl-list{list-style:none;margin:0;padding:0 var(--tnc-htl-gut) 8px;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--tnc-htl-gut);scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain}
.tnc-htl .tnc-htl-list::-webkit-scrollbar{display:none}
.tnc-htl .tnc-htl-list:focus-visible{outline:3px solid var(--tnc-htl-accent);outline-offset:-3px}
.tnc-htl .tnc-htl-item{flex:0 0 clamp(300px,31vw,450px);scroll-snap-align:start;position:relative;margin:0;padding:0 clamp(40px,5vw,80px) 0 0;min-width:0;list-style:none}
.tnc-htl .tnc-htl-item::before{content:"";position:absolute;top:11px;left:0;right:0;height:1px;background:var(--tnc-htl-line)}
.tnc-htl .tnc-htl-item:last-child::before{right:auto;width:12px}

/* the dot: lighter circle with an accent center; highlighted entries swap colors */
.tnc-htl .tnc-htl-dot{position:relative;z-index:1;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--tnc-htl-dot)}
.tnc-htl .tnc-htl-dot::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--tnc-htl-accent)}
.tnc-htl .tnc-htl-item.is-today .tnc-htl-dot{background:var(--tnc-htl-accent)}
.tnc-htl .tnc-htl-item.is-today .tnc-htl-dot::after{background:#FFFFFF}

/* stem + text */
.tnc-htl .tnc-htl-stem{display:block;width:1px;height:44px;margin-left:11px;background:var(--tnc-htl-line)}
.tnc-htl .tnc-htl-body{display:flex;flex-direction:column;gap:8px;padding-top:14px}
.tnc-htl .tnc-htl-year{font-family:"Libre Baskerville",Georgia,serif;font-weight:700;font-size:clamp(2rem,1.6rem + 1.2vw,2.75rem);line-height:1;color:var(--tnc-htl-accent);margin-bottom:12px}
.tnc-htl .tnc-htl-title{margin:4px 0 0;padding:0;color:var(--tnc-htl-heading);font-family:inherit;font-size:1.05rem;font-weight:600;line-height:1.3;letter-spacing:0;text-transform:none}
.tnc-htl .tnc-htl-text{margin:0;color:var(--tnc-htl-text);font-size:.92rem;line-height:1.6}

@media (max-width:760px){
  .tnc-htl .tnc-htl-intro{flex-direction:column;align-items:flex-start}
  .tnc-htl .tnc-htl-item{flex-basis:82%;padding-right:32px}
}
@media (prefers-reduced-motion:reduce){
  .tnc-htl .tnc-htl-list{scroll-behavior:auto}
  .tnc-htl *{transition:none!important}
}
