/* Custom additions on top of Bootstrap Blog */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

:root {
  --bs-font-sans-serif: "Montserrat", sans-serif;
  --bs-body-font-family: "Montserrat", sans-serif;
  --bs-font-monospace: "Montserrat", sans-serif;
}

html,
body,
button,
input,
select,
textarea,
.btn,
.form-control,
.form-select,
.nav-link,
.dropdown-menu,
.badge,
.alert,
.table,
.modal,
.offcanvas,
.pagination,
.page-link,
.list-group-item,
.card,
.popover,
.tooltip,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
p,
span,
a,
small,
time,
label,
li,
td,
th,
figcaption,
blockquote,
.blog-post,
.blog-post-meta,
.article-content,
.article-content p,
.sidebar-post-link,
.news-ticker,
.news-ticker__text,
.news-ticker__btn {
  font-family: "Montserrat", sans-serif !important;
}

.sidebar-sticky {
  top: 5.5rem;
}

.article-page .sidebar-sticky {
  margin-top: 5rem;
  top: 7rem;
}

/* Main content spacing before footer */

.site-main-content {
  padding-bottom: 5rem;
  margin-bottom: 2rem;
}

.site-main-content--article {
  padding-top: 3rem;
  padding-bottom: 6rem;
  margin-bottom: 3rem;
}

.site-footer {
  margin-top: 0;
  padding-top: 4rem;
}

/* News ticker — inside .container, clipped */

.news-ticker {
  background: #1a1a2e;
  color: #fff;
  border-bottom: 1px solid #2d2d44;
  overflow: hidden;
  border-radius: 0;
}

.news-ticker__viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.news-ticker__track {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  padding: 0.65rem 0;
  will-change: transform;
  white-space: nowrap;
  max-width: none;
}

.news-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 2rem;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.news-ticker__text {
  font-size: 0.875rem;
}

.news-ticker__btn {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1a1a2e;
  background: #fff;
  border-radius: 999px;
  text-decoration: none;
  flex-shrink: 0;
}

.news-ticker__btn:hover {
  background: #e8e8e8;
  color: #1a1a2e;
}

/* Sidebar banner */

.sidebar-banner {
  padding: 1rem;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  text-align: center;
}

.sidebar-banner__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.sidebar-banner__img {
  max-width: 100%;
  height: auto;
  border-radius: 0.375rem;
  margin-bottom: 0.5rem;
}

.sidebar-banner__text {
  font-size: 0.8125rem;
  color: #495057;
  margin-bottom: 0.5rem;
}

.sidebar-banner__link {
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Admin dashboard shell */

.admin-dashboard {
  min-height: 100vh;
}

.admin-dashboard .sidebar {
  min-height: 100vh;
}

.admin-dashboard .sidebar .nav-link {
  color: rgba(255, 255, 255, 0.75);
  border-radius: 0.375rem;
  font-size: 0.875rem;
}

.admin-dashboard .sidebar .nav-link:hover,
.admin-dashboard .sidebar .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.admin-dashboard main {
  min-height: 100vh;
}