/* RC14 — homepage latest-news ticker. */
.bw-news-ticker{
  --bw-news-ink:#163143;
  --bw-news-teal:#087d70;
  --bw-news-gold:#b8872e;
  background:linear-gradient(90deg,#fffdf8 0%,#f8fbf8 42%,#fffdf8 100%);
  border-bottom:1px solid #dce6df;
  box-shadow:0 8px 22px rgba(21,49,67,.035);
  color:var(--bw-news-ink);
}
.bw-news-ticker__inner{
  max-width:1328px;
  margin:0 auto;
  min-height:48px;
  padding:0 24px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) 42px;
  gap:16px;
  align-items:center;
}
.bw-news-ticker__label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  color:#6c4d16;
  font-size:10px;
  font-weight:900;
  letter-spacing:1.35px;
  text-transform:uppercase;
}
.bw-news-ticker__pulse{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#d59628;
  box-shadow:0 0 0 4px rgba(213,150,40,.12);
}
.bw-news-ticker__viewport{
  min-width:0;
  overflow:hidden;
  mask-image:linear-gradient(to right,transparent,#000 28px,#000 calc(100% - 28px),transparent);
  -webkit-mask-image:linear-gradient(to right,transparent,#000 28px,#000 calc(100% - 28px),transparent);
}
.bw-news-ticker__track{
  width:max-content;
  display:flex;
  align-items:center;
  animation:bw-news-marquee var(--bw-news-duration,90s) linear infinite;
  will-change:transform;
}
.bw-news-ticker__group{
  display:inline-flex;
  align-items:center;
  flex:none;
  white-space:nowrap;
  padding-right:38px;
}
.bw-news-ticker__item{
  display:inline-flex;
  align-items:baseline;
  gap:8px;
  color:#254b55;
  font-size:13px;
  font-weight:700;
  line-height:1.3;
  text-decoration:none;
  padding:8px 4px;
  transition:color .18s ease;
}
.bw-news-ticker__item:hover,.bw-news-ticker__item:focus-visible{color:var(--bw-news-teal);text-decoration:underline;text-underline-offset:4px;}
.bw-news-ticker__date{color:#8c6a2a;font-size:10px;font-weight:850;letter-spacing:.45px;text-transform:uppercase;}
.bw-news-ticker__dot{color:#d7b56d;margin:0 14px;font-size:12px;}
.bw-news-ticker__toggle{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid #d6e3dd;
  border-radius:50%;
  background:#fff;
  color:#46636a;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(15,52,59,.05);
  font:800 12px/1 system-ui,sans-serif;
}
.bw-news-ticker__toggle:hover,.bw-news-ticker__toggle:focus-visible{border-color:#8bbeb4;color:var(--bw-news-teal);background:#f5fbf8;}
.bw-news-ticker__play{display:none;font-size:10px;margin-left:2px;}
.bw-news-ticker.is-paused .bw-news-ticker__track{animation-play-state:paused;}
.bw-news-ticker.is-paused .bw-news-ticker__pause{display:none;}
.bw-news-ticker.is-paused .bw-news-ticker__play{display:inline;}
.bw-news-ticker:hover .bw-news-ticker__track,
.bw-news-ticker:focus-within .bw-news-ticker__track{animation-play-state:paused;}
@keyframes bw-news-marquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
/* The ticker fills the former visual dead zone; keep the hero comfortably close. */
.bw-home{padding-top:22px;}
.bw-home-hero{margin-top:4px;}
@media(max-width:700px){
  .bw-news-ticker__inner{min-height:45px;padding:0 12px;grid-template-columns:auto minmax(0,1fr) 38px;gap:9px;}
  .bw-news-ticker__label{font-size:9px;letter-spacing:.9px;}
  .bw-news-ticker__pulse{width:7px;height:7px;box-shadow:0 0 0 3px rgba(213,150,40,.11);}
  .bw-news-ticker__item{font-size:12px;gap:6px;padding:7px 3px;}
  .bw-news-ticker__date{font-size:9px;}
  .bw-news-ticker__dot{margin:0 10px;}
  .bw-news-ticker__toggle{width:32px;height:32px;}
  .bw-news-ticker__viewport{mask-image:linear-gradient(to right,transparent,#000 16px,#000 calc(100% - 16px),transparent);-webkit-mask-image:linear-gradient(to right,transparent,#000 16px,#000 calc(100% - 16px),transparent);}
  .bw-home{padding-top:17px;}
}
@media(prefers-reduced-motion:reduce){
  .bw-news-ticker__viewport{overflow-x:auto;scrollbar-width:thin;mask-image:none;-webkit-mask-image:none;}
  .bw-news-ticker__track{animation:none;}
  .bw-news-ticker__group[aria-hidden="true"]{display:none;}
  .bw-news-ticker__toggle{display:none;}
}
@media print{.bw-news-ticker{display:none!important;}}
