/* --- Structural: elements with no dashboard equivalent --- */

/* Hides Beamer's stock trigger; we render our own bell in the app chrome.
   DELETE THIS once force_button: false is confirmed working. */
#beamerSelector .beamer_defaultBeamerSelector { display: none !important; }

/* Layout fix: lets the feed header fill its container */
/*#newsContainerDiv .header { height: 100%; }*/

/* Remove Beamer branding */
.poweredFooter { display: none !important; }
.streamNav li.catItem.watermark { display: none !important; }


/* --- Colour: only what the Appearance tab can't reach --- */

/* Card separation — no dashboard field for borders */
.feature {
  border: 1px solid #DADADA !important;
  border-radius: 6px !important;
}

/* Scrollbar thumb. Beamer's default is rgba(0,0,0,0.2), which is
   1.6:1 on white — under the 3:1 non-text threshold. */
/*body.standalone.webkit-scroll .container::-webkit-scrollbar-thumb,
.popup .featureContent::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb { background: #878786 !important; }*/

/* Code blocks: highlight.js defaults to #F8F8F8, bring it onto the tint ramp */
.hljs, pre, code { background: #ECECEC !important; }

/* Subscribe button — ships as a bare 22px icon with the label hidden */
.action.subscribeAction .actionLink {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: #146BC1 !important;
  border-radius: 6px !important;
  padding: 8px 14px !important;
  width: auto !important;
}
.action.subscribeAction .actionLink span {
  display: inline !important;
  color: #FFFFFF !important;
  font-size: 14px;
  white-space: nowrap;
}
.action.subscribeAction .notificationsIcon {
  fill: #FFFFFF !important;
  width: 18px; height: 18px;
}

/* Make the title and link differenct colours */
.featureTitle, .featureTitle a, .featureTitle a * { color: #333396 !important; }


/* Make the banner clean */
/* body.standalone.webkit-scroll .container::-webkit-scrollbar-track {
  top: 78px !important;
  height: calc(100vh - 268px) !important;
}*/


.header.dark.standard.solid {
  border-bottom: 1px solid #DADADA !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07) !important;
}

.beamer_beamer { background: #ECECEC !important; }

/* Sticky search */
.streamNav.sticky {
  position: sticky !important;
  top: 130px !important;
  max-height: calc(100vh - 160px) !important;
  overflow-y: auto !important;
}

body.standalone .cover.header {
  max-height: 120px !important;
  min-height: 0 !important;
}

@media (max-width: 900px) {
  body.standalone .cover.header { max-height: 70px !important; }
}

body.standalone.webkit-scroll .container::-webkit-scrollbar-track {
  top: 130px !important;
  height: calc(100vh - 150px) !important;
}

@media (max-width: 900px) {
  body.standalone.webkit-scroll .container::-webkit-scrollbar-track {
    top: 80px !important;
    height: calc(100vh - 100px) !important;
  }
}