/* Compact ticker and publication frames from the supplied reference. */
.hb-reference .rb-ticker { margin: 0 0 12px; }
.hb-reference .rb-ticker > .rb-panel-head,
.hb-reference[data-hb-page="news"] #News > .rb-page-head {
  display: flex; align-items: center; justify-content: flex-start; gap: 6px;
  box-sizing: border-box; height: 31px; padding: 0 17px; text-align: left;
  font: 700 12px/31px 'Cinzel',Georgia,serif; letter-spacing: .4px;
}
.hb-reference .rb-ticker > .rb-panel-head .hb-icon,
.hb-reference[data-hb-page="news"] #News > .rb-page-head .hb-icon { width: 14px; height: 14px; }
.hb-reference .rb-ticker > .rb-panel-body {
  border: 3px solid transparent; border-radius: 2px; margin-top: -2px;
  background: #eadbb6; box-shadow: 0 1px 4px rgba(52,36,14,.25);
}
.hb-reference .rb-ticker > .rb-panel-body::before {
  inset: -3px; border-width: 3px; border-image-width: 3px;
}
.hb-reference .rb-ticker .rb-ticker-mid { padding: 0 1px; }
.hb-reference .rb-ticker .RbTickerInner {
  min-height: 26px; box-sizing: border-box; padding: 4px 6px; gap: 9px;
  border-bottom: 1px solid #c8b98f; background: #e5d5af;
}
.hb-reference .rb-ticker .RbTickerRow:nth-child(even) .RbTickerInner { background: #ebddbb; }
.hb-reference .rb-ticker .RbTickerInner:hover { background: #f1e3c2; }
.hb-reference .rb-ticker .RbTickerIcon img { width: 12px; height: 12px; object-fit: contain; }
.hb-reference .rb-ticker .RbTickerText { font: 400 10px/17px Verdana,Arial,sans-serif; color: #3d291b; }
.hb-reference .rb-ticker .RbTickerDate { display: inline; margin-right: 16px; font: 400 9px/17px Verdana,Arial,sans-serif; }
.hb-reference .rb-ticker .RbTickerText strong { font-weight: 400; color: #3d291b; }
.hb-reference .rb-ticker .RbTickerChev { font-size: 12px; line-height: 16px; font-weight: 400; color: #604723; }
.hb-reference .rb-ticker .RbTickerRow.is-expanded .RbTickerInner { background: #efe1bf; }
.hb-reference .rb-ticker .RbTickerRow.is-expanded .RbTickerDate { margin-right: 8px; }

.hb-reference[data-hb-page="news"] #News { flex: 0 0 auto; scroll-margin-top: 12px; }
.hb-reference[data-hb-page="news"] #News > .rb-panel-body {
  flex: 0 0 auto;
  border: 3px solid #bd9639; margin-top: -2px; border-radius: 2px;
  background: #e8d7ac; box-shadow: inset 0 0 8px rgba(106,73,19,.15), 0 2px 5px rgba(29,23,12,.25);
}
.hb-reference[data-hb-page="news"] #News > .rb-panel-body::before { display: none; }
.hb-reference[data-hb-page="news"] #News .rb-content-mid { flex: 0 0 auto; padding: 12px 15px 15px; }
.hb-reference #News .hb-news-article {
  margin: 0 0 15px; background: #d1c3a6; border: 1px solid #b8a67c;
  border-radius: 1px; box-shadow: 0 2px 5px rgba(72,52,22,.18); overflow: hidden;
}
.hb-reference #News .hb-news-article[hidden] { display: none !important; }
.hb-reference .Content #News .hb-news-article > .NewsHeadline {
  margin: 0; padding: 13px 14px 7px; background: none; border: 0; border-radius: 0; box-shadow: none;
}
.hb-reference .Content #News .hb-news-article .NewsHeadlineBackground {
  display: grid !important; grid-template-columns: 16px minmax(0,1fr) auto;
  grid-template-rows: auto; align-items: center; gap: 8px;
  background: none !important; min-height: 18px;
}
.hb-reference .Content #News .hb-news-article .NewsHeadlineIcon {
  grid-column: 1; grid-row: 1; position: static; width: 16px; height: 16px;
  margin: 0; float: none; object-fit: contain;
}
.hb-reference .Content #News .hb-news-article .NewsHeadlineText {
  grid-column: 2; grid-row: 1; position: static; margin: 0; width: auto;
  font: 400 11px/1.4 Verdana,Arial,sans-serif !important; color: #352817 !important;
}
.hb-reference .Content #News .hb-news-article .NewsHeadlineDate {
  grid-column: 3; grid-row: 1; position: static; width: auto; white-space: nowrap;
  font: 400 9px/1.4 Verdana,Arial,sans-serif !important; color: #6d5a3e !important;
}
.hb-reference .Content #News .hb-news-article .NewsHeadlineAuthor { grid-column: 2 / 4; font: 10px/1.4 Verdana,Arial,sans-serif; }
.hb-reference .Content #News .hb-news-article > .NewsHeadline + table {
  margin: 0; width: 100%; background: #d1c3a6; border: 0; border-radius: 0; box-shadow: none;
}
.hb-reference .Content #News .hb-news-article > .NewsHeadline + table td {
  background: none; font: 400 12px/1.3 Verdana,Arial,sans-serif; padding: 12px 14px !important;
}
.hb-reference .Content #News .hb-news-article > .NewsHeadline + table td p { margin: 0 0 12px; text-align: justify; }
.hb-reference .Content #News .hb-news-article > .NewsHeadline + table td p:last-child { margin-bottom: 0; }
.hb-reference .Content #News .hb-news-article > .NewsHeadline + table td a { font-weight: 400; }
.hb-reference .Content #News .hb-news-article :is(img,iframe,video) { max-width: 100%; }
.hb-reference .Content #News .hb-news-article iframe[src*="youtube"] { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.hb-reference .hb-news-divider {
  height: 35px; margin: 3px 14px 13px;
  background: url('/templates/highbinot/images/ui/highbiniot-news-divider.svg?v=50') center / 100% 35px no-repeat;
}
.hb-reference .hb-news-pager {
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 10px;
  border-top: 1px solid #b7a379; margin-top: 14px; padding-top: 11px; font: 10px/1.4 Verdana,Arial,sans-serif;
}
.hb-reference .Content #News a.hb-publication-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; box-sizing: border-box;
  min-height: 23px; padding: 3px 10px; text-decoration: none; white-space: nowrap;
  background: linear-gradient(#347db7,#1b4f84); color: #fff9e9; border: 1px solid #20476a;
  box-shadow: inset 0 1px rgba(255,255,255,.3), 0 1px 2px rgba(57,42,17,.25); font: 400 10px/1.4 Verdana,Arial,sans-serif;
}
.hb-reference .hb-publication-previous { justify-self: start; }
.hb-reference .hb-publication-next { justify-self: end; }
.hb-reference .Content #News a.hb-publication-button:hover { color: #fff; background: linear-gradient(#448fc7,#27699e); }
.hb-reference .Content #News a.hb-publication-button[aria-disabled="true"] {
  color: #eef1ee; background: #8d9fa2; border-color: #85938c; cursor: default; box-shadow: none;
}
.hb-reference .hb-publication-count { white-space: nowrap; color: #483822; }
.hb-reference .hb-publication-arrow { font-size: 14px; line-height: 1; }
.hb-reference .hb-publication-button:focus-visible { outline: 2px solid #1c6495; outline-offset: 3px; }
@media (max-width: 640px) {
  .hb-reference .rb-ticker .RbTickerDate { margin-right: 7px; }
  .hb-reference .rb-ticker .RbTickerInner { gap: 6px; padding-left: 4px; padding-right: 4px; }
  .hb-reference[data-hb-page="news"] #News .rb-content-mid { padding: 10px 8px 12px; }
  .hb-reference .Content #News .hb-news-article > .NewsHeadline { padding: 11px 10px 5px; }
  .hb-reference .Content #News .hb-news-article .NewsHeadlineBackground { grid-template-columns: 16px minmax(0,1fr); }
  .hb-reference .Content #News .hb-news-article .NewsHeadlineDate { grid-column: 2; grid-row: 2; white-space: normal; }
  .hb-reference .Content #News .hb-news-article > .NewsHeadline + table td { padding: 10px !important; }
  .hb-reference .hb-news-pager { gap: 6px; }
  .hb-reference .Content #News a.hb-publication-button { padding: 4px 6px; font-size: 9px; white-space: normal; }
}
