/* TrendSys v3.6.68 — article detail recommendations only. */
#ts-related-articles { --ts-related-bg:#f2f2f2; --ts-related-gap:28px; background:var(--ts-related-bg); padding:44px 0 42px; clear:both; }
#ts-related-articles .ts-related-container { position:relative; }
#ts-related-articles .ts-related-heading { margin:0 auto 30px; max-width:50%; text-align:center; border-bottom:1px solid #cecece; padding-bottom:15px; position:relative; }
#ts-related-articles .ts-related-heading .title { margin:0; color:var(--ts-brand-dark,#333334); }
/* Same three slanted grey/red/grey elements as the approved home Knowledge section. */
#ts-related-articles .ts-related-heading::after { content:""; position:absolute; width:90px; height:16px; bottom:-8px; left:50%; transform:translateX(-50%); border-radius:0; box-shadow:none; background:var(--ts-related-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='62' height='16' viewBox='0 0 62 16'%3E%3Cpath fill='%23aeb4b8' d='M7 1H18L11 15H0Z M51 1H62L55 15H44Z'/%3E%3Cpath fill='%23C32E2F' d='M29 1H40L33 15H22Z'/%3E%3C/svg%3E") center no-repeat; }
#ts-related-articles .ts-related-controls { display:flex; justify-content:center; align-items:center; gap:6px; margin:18px 0 0; }
#ts-related-articles .ts-related-dots { display:flex; align-items:center; justify-content:center; gap:0; flex-wrap:wrap; }
#ts-related-articles .ts-related-controls .ts-related-dot { display:grid; place-items:center; width:24px; height:24px; padding:0; border:0; background:transparent; color:inherit; border-radius:50%; cursor:pointer; }
#ts-related-articles .ts-related-dot::before { content:""; width:7px; height:7px; border-radius:50%; background:#b9bdc0; transition:background-color .2s; }
#ts-related-articles .ts-related-dot[aria-current="true"]::before { background:var(--ts-brand-red,#C32E2F); }
#ts-related-articles .ts-related-controls .ts-related-dot:hover { background:transparent; }
#ts-related-articles .ts-related-dot:hover::before { background:var(--ts-brand-red,#C32E2F); }
#ts-related-articles .ts-related-controls:not([hidden]) + .ts-related-all { margin-top:18px; }
#ts-related-articles .ts-related-controls[hidden] { display:none !important; }
#ts-related-articles .ts-related-controls button { display:grid; place-items:center; width:38px; height:38px; padding:0; border:1px solid #d9dde0; background:#fff; color:var(--ts-brand-dark,#333334); border-radius:50%; font-size:29px; line-height:1; cursor:pointer; transition:background-color .2s,color .2s,border-color .2s; }
#ts-related-articles .ts-related-controls button:disabled { opacity:.4; cursor:default; }
#ts-related-articles .ts-related-controls button:not(.ts-related-dot):not(:disabled):hover { background:var(--ts-brand-red,#C32E2F); color:#fff; border-color:var(--ts-brand-red,#C32E2F); }
#ts-related-articles .ts-related-track { --ts-related-visible:4; display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - (var(--ts-related-visible) - 1)*var(--ts-related-gap))/var(--ts-related-visible)); gap:var(--ts-related-gap); grid-template-rows:auto; margin:0; padding:2px 1px 9px; list-style:none; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:#b9bdc0 transparent; overscroll-behavior-x:contain; }
#ts-related-articles .ts-related-item { min-width:0; margin:0; padding:0; list-style:none; scroll-snap-align:start; display:grid; }
#ts-related-articles .ts-related-card { display:grid; grid-template-rows:auto auto 1fr; min-width:0; border:1px solid #d9dde0; border-radius:6px; overflow:hidden; background:#f5f5f5; color:#333334; text-decoration:none; transition:border-color .2s,background-color .2s; }
#ts-related-articles .ts-related-card-title { margin:0; padding:14px 16px; font-family:'Open Sans',sans-serif; font-size:16px; font-weight:400; line-height:1.55; text-transform:none; color:#333334; background:#CACFD4; border-bottom:1px solid #b9bdc0; overflow-wrap:anywhere; transition:background-color .2s,color .2s; }
#ts-related-articles .ts-related-image { display:block; width:100%; height:auto; aspect-ratio:360/190; object-fit:cover; margin:0; border:0; }
#ts-related-articles .ts-related-placeholder { display:grid; place-items:center; background:#e4e6e8; color:#777; font-size:28px; }
#ts-related-articles .ts-related-description { display:block; padding:14px 16px; color:#555; font-family:'Open Sans',sans-serif; font-size:15px; font-weight:400; line-height:1.7; overflow-wrap:anywhere; }
@supports (grid-template-rows:subgrid) {
  #ts-related-articles .ts-related-track { grid-template-rows:auto auto auto; row-gap:0; }
  #ts-related-articles .ts-related-item { grid-row:1 / span 3; grid-template-rows:subgrid; }
  #ts-related-articles .ts-related-card { grid-row:1 / span 3; grid-template-rows:subgrid; }
}
@media (hover:hover) and (pointer:fine) {
  #ts-related-articles .ts-related-card:hover { border-color:var(--ts-brand-red,#C32E2F); background:#fff; }
  #ts-related-articles .ts-related-card:hover .ts-related-card-title { color:var(--ts-brand-red,#C32E2F); background:#fff; border-color:var(--ts-brand-red,#C32E2F); }
  #ts-related-articles .ts-related-track.is-dragging, #ts-related-articles .ts-related-track.is-dragging * { cursor:grabbing!important; user-select:none; }
  #ts-related-articles .ts-related-track.is-dragging { scroll-snap-type:none; }
}
#ts-related-articles :is(a,button,.ts-related-track):focus-visible { outline:2px solid var(--ts-brand-red,#C32E2F); outline-offset:2px; }
#ts-related-articles .ts-related-card:focus-visible { outline-offset:-3px; border-color:var(--ts-brand-red,#C32E2F); }
#ts-related-articles .ts-related-all { text-align:center; margin-top:28px; }
#ts-related-articles .ts-related-all .btn { color:#fff; background:var(--ts-brand-red,#C32E2F); border:1px solid var(--ts-brand-red,#C32E2F); text-decoration:none; }
#ts-related-articles .ts-related-all .btn:is(:hover,:focus-visible) { color:var(--ts-brand-red,#C32E2F); background:#fff; }
#ts-related-articles .ts-related-pending { opacity:0!important; }
#ts-related-articles .ts-related-pending:focus-within { opacity:1!important; }
@media (min-width:1600px) { #ts-related-articles .ts-related-container { width:1440px; max-width:calc(100% - 60px); } #ts-related-articles .ts-related-track { --ts-related-visible:5; } }
@media (max-width:991px) { #ts-related-articles { --ts-related-gap:20px; padding:32px 0; } #ts-related-articles .ts-related-track { --ts-related-visible:3; } #ts-related-articles .ts-related-heading { max-width:85%; } }
@media (max-width:767px) { #ts-related-articles { --ts-related-gap:14px; padding:28px 0; } #ts-related-articles .ts-related-heading { max-width:90%; margin-bottom:22px; } #ts-related-articles .ts-related-heading .title { font-size:clamp(20px,4.7vw,26px); line-height:1.35; } #ts-related-articles .ts-related-track { --ts-related-visible:1.18; } #ts-related-articles .ts-related-controls button { width:44px; height:44px; } #ts-related-articles .ts-related-all { margin-top:20px; } }
@media (prefers-reduced-motion:reduce), print { #ts-related-articles .ts-related-pending { opacity:1!important; } #ts-related-articles * { transition:none!important; } }

/* v3.6.70: compact phone recommendations only. No desktop/tablet changes. */
@media (max-width:767px) {
  #ts-related-articles { padding:22px 0; --ts-related-gap:12px; }
  #ts-related-articles .ts-related-heading { margin-bottom:18px; }
  #ts-related-articles .ts-related-track { --ts-related-visible:1.4; grid-template-rows:auto; align-items:start; }
  #ts-related-articles .ts-related-item { grid-row:auto; grid-template-rows:auto; align-self:start; }
  #ts-related-articles .ts-related-card { grid-row:auto; grid-template-rows:auto auto auto; align-self:start; }
  #ts-related-articles .ts-related-card-title { font-size:15px; padding:10px 12px; line-height:1.4; }
  #ts-related-articles .ts-related-description { font-size:14px; padding:10px 12px; line-height:1.55; }
  #ts-related-articles .ts-related-controls { margin-top:12px; }
  #ts-related-articles .ts-related-controls:not([hidden]) + .ts-related-all { margin-top:12px; }
}

/* v3.6.71: desktop recommendation presentation only, following the home Knowledge cards.
   Phone and touch-tablet layouts keep the v3.6.70 rules above. */
@media (min-width:992px) and (hover:hover) and (pointer:fine) {
  #ts-related-articles { --ts-related-gap:18px; padding:50px 0 56px; }
  #ts-related-articles .ts-related-heading { margin-bottom:50px; }
  #ts-related-articles .ts-related-track { padding:0 1px 9px; }
  #ts-related-articles .ts-related-card-title {
    display:grid; grid-template-columns:minmax(0,1fr) 8px; align-items:center; gap:9px;
    padding:8px 10px; font-size:17px; font-weight:600; line-height:1.3;
    border-bottom:0; color:#333334;
  }
  #ts-related-articles .ts-related-card-title::after {
    content:""; width:7px; height:7px; border-top:2px solid #C32E2F;
    border-right:2px solid #C32E2F; transform:rotate(45deg); justify-self:center;
  }
  #ts-related-articles .ts-related-description { padding:14px 16px; font-size:13px; line-height:1.5; color:#4c5358; }
  #ts-related-articles .ts-related-controls { gap:6px; margin-top:18px; }
  #ts-related-articles .ts-related-controls button:not(.ts-related-dot) { width:36px; height:36px; font-size:27px; }
  #ts-related-articles .ts-related-controls .ts-related-dot { width:14px; height:24px; }
  #ts-related-articles .ts-related-controls:not([hidden]) + .ts-related-all { margin-top:20px; }
  #ts-related-articles .ts-related-all .btn { font-family:inherit; font-size:16px; font-weight:600; line-height:1.35; padding:10px 15px; border-radius:4px; }
  /* With JS, only the visible page determines the shared card heights. Hidden pages
     cannot leave surplus blank space. Native scrolling and all links are preserved. */
  #ts-related-articles .ts-related-track.ts-related-desktop-sized { grid-template-rows:auto; align-items:start; scrollbar-width:none; }
  #ts-related-articles .ts-related-track.ts-related-desktop-sized::-webkit-scrollbar { display:none; }
  #ts-related-articles .ts-related-desktop-sized .ts-related-item { grid-row:auto; grid-template-rows:auto; align-self:start; }
  #ts-related-articles .ts-related-desktop-sized .ts-related-card { grid-row:auto; grid-template-rows:max-content max-content max-content; align-self:start; }
  #ts-related-articles .ts-related-desktop-sized .ts-related-card-title { min-height:var(--ts-related-page-title,0px); }
  #ts-related-articles .ts-related-desktop-sized .ts-related-description { min-height:var(--ts-related-page-desc,0px); }
}
