/* Main feature */
.main-feature {
  position: relative;
  overflow: hidden;
}

br {
  display: none;
}

p br {
  display: inline;
}

.transparent-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(60deg, #e9ecef 0%, #e9ecef 100%);
  /* Light mode gradient */
  opacity: 0.8;
}

[data-bs-theme='dark'] .transparent-overlay {
  background: linear-gradient(
    to top,
    #09203f 0%,
    rgba(33, 37, 41, 0.75) 100%
  ); /* Dark mode gradient */
  opacity: 0.8;
}

.feature-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(0.2rem);
}

.feature-content {
  position: relative;
  z-index: 2; /* In foreground to the gradient */
}

.card-feature-tile {
  min-height: 100%;
}

@media (min-width: 768px) {
  .card-feature-tile {
    height: 300px;
  }
}

.card-feature-tile__body {
  min-width: 0;
}

.card-feature-tile__media {
  height: 100%;
}

.card-feature-tile__image {
  display: block;
  height: 100%;
}

/* Image thumbnails for cards */
.center-thumbnail {
  margin-left: 50%;
  transform: translateX(-50%);
}

.htmx-indicator {
  opacity: 0;
  transition: opacity 200ms ease-in;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
  max-height: 300px;
  overflow-y: auto;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}

.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: rgba(13, 110, 253) !important;
  color: #ffffff;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow:
    inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
    inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -0.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #ec7800;
  --bd-violet-rgb: 249, 179, 4;

  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #f9b304;
  --bs-btn-hover-border-color: #f9b304;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #152b3b;
  --bs-btn-active-border-color: #152b3b;
}

.bd-mode-toggle {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 2000;
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 5.5rem;
  }
}

.sticky-mobile-toolbar {
  position: fixed;
  inset: auto 0 0;
  z-index: 2000;
  padding: 0;
  background: rgba(248, 249, 250, 0.72);
}

[data-bs-theme='dark'] .sticky-mobile-toolbar {
  background: rgba(9, 32, 63, 0.78);
}

.sticky-mobile-toolbar__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(21, 43, 59, 0.08);
  background: rgba(248, 249, 250, 0.58);
  box-shadow: 0 -0.75rem 2rem rgba(21, 43, 59, 0.08);
}

[data-bs-theme='dark'] .sticky-mobile-toolbar__inner {
  border-top-color: rgba(233, 236, 239, 0.12);
  background: rgba(9, 32, 63, 0.58);
  box-shadow: 0 -0.75rem 2rem rgba(0, 0, 0, 0.22);
}

.sticky-mobile-toolbar__inner--theme-only {
  gap: 0.75rem;
}

.sticky-mobile-toolbar__actions {
  flex: 1;
  min-width: 0;
  min-height: 2.5rem;
}

.sticky-mobile-toolbar__actions:empty {
  visibility: hidden;
}

.sticky-desktop-toolbar {
  position: fixed;
  inset: auto 0 1.5rem;
  z-index: 1900;
  padding-inline: 1.5rem;
}

.sticky-desktop-toolbar__inner {
  width: min(720px, calc(100vw - 10rem));
  margin: 0 auto;
}

.sticky-desktop-toolbar__actions {
  display: flex;
  justify-content: center;
}

.sticky-dock-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(21, 43, 59, 0.12);
  border-radius: 1.25rem;
  background: rgba(var(--bs-body-bg-rgb), 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1rem 2.5rem rgba(21, 43, 59, 0.18);
}

.sticky-mobile-toolbar .sticky-dock-panel {
  width: 100%;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.sticky-pager-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sticky-mobile-toolbar .sticky-pager-actions {
  width: 100%;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.sticky-pager-actions .btn,
.sticky-pager-actions .badge {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sticky-mobile-toolbar .sticky-pager-actions .btn,
.sticky-mobile-toolbar .sticky-pager-actions .badge {
  flex: 1 1 auto;
  min-width: 0;
}

.sticky-mobile-toolbar .sticky-pager-actions .btn-outline-secondary {
  background: rgba(var(--bs-body-bg-rgb), 0.98);
  border-color: rgba(21, 43, 59, 0.16);
  color: var(--bs-body-color);
}

.sticky-mobile-toolbar .sticky-pager-actions .btn-outline-secondary:hover,
.sticky-mobile-toolbar .sticky-pager-actions .btn-outline-secondary:focus-visible,
.sticky-mobile-toolbar .sticky-pager-actions .btn-outline-secondary:active {
  background: rgba(var(--bs-body-bg-rgb), 1);
  border-color: rgba(21, 43, 59, 0.24);
  color: var(--bs-body-color);
}

.sticky-mobile-toolbar .sticky-pager-actions .btn-outline-secondary:disabled {
  background: rgba(var(--bs-body-bg-rgb), 0.9);
  border-color: rgba(21, 43, 59, 0.12);
  color: rgba(var(--bs-body-color-rgb), 0.62);
}

.sticky-pager-actions .badge {
  padding-inline: 0.9rem;
  font-size: 0.9rem;
}

.sticky-pager-actions .btn {
  border-radius: 999px;
  padding-inline: 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.sticky-pager-actions [data-issue-review-top],
.sticky-pager-actions a[href="#top"] {
  white-space: nowrap;
}

.sticky-modal-footer {
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(21, 43, 59, 0.12);
  background: rgba(var(--bs-body-bg-rgb), 0.98);
}

.sticky-modal-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.scrollspy-focus-target:focus {
  outline: none;
  box-shadow: none;
}

.footer-logo-link {
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.875rem;
  border-radius: 1rem;
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.footer-back-to-top:hover,
.footer-back-to-top:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 767.98px) {
  .sticky-modal-footer__inner {
    align-items: stretch;
  }

  .sticky-modal-footer__inner > * {
    width: 100%;
  }

  .sticky-desktop-toolbar {
    inset: auto 0 1rem;
    padding-inline: 1rem;
  }

  .sticky-desktop-toolbar__inner {
    width: 100%;
  }

  .sticky-mobile-toolbar .sticky-pager-actions .btn,
  .sticky-mobile-toolbar .sticky-pager-actions .badge {
    min-height: 2.35rem;
    font-size: 0.84rem;
  }

  .sticky-mobile-toolbar .sticky-pager-actions .btn {
    padding-inline: 0.7rem;
  }

  .footer-logo-link {
    padding: 1rem;
  }
}

/* stylelint-disable stylistic/selector-list-comma-newline-after */

.blog-header-logo {
  font-family:
    'Fugaz One',
    'Arial Black',
    'Franklin Gothic Heavy',
    'Impact',
    sans-serif;
  font-size: 2rem;
}

@media (min-width: 768px) {
  .blog-header-logo {
    font-size: 4rem;
  }
}

.blog-header-logo:hover {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family:
    'Baloo',
    'Trebuchet MS',
    'Arial Rounded MT Bold',
    'Avenir Next Rounded',
    system-ui,
    sans-serif;
}

.flex-auto {
  flex: 0 0 auto;
}

.h-250 {
  height: 250px;
}

@media (min-width: 768px) {
  .h-md-250 {
    height: 250px;
  }
}

/*
   * Blog posts
   */
.article-post {
  margin-bottom: 4rem;
}

.article-post-meta {
  margin-bottom: 1.25rem;
  color: #727272;
}

@supports (content-visibility: auto) {
  .deferred-card,
  .deferred-article,
  .deferred-search-result {
    content-visibility: auto;
    contain: layout style paint;
  }

  .deferred-card {
    contain-intrinsic-size: 420px;
  }

  .deferred-article {
    contain-intrinsic-size: 1400px;
  }

  .deferred-search-result {
    contain-intrinsic-size: 320px;
  }
}

/* cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/PlayfairDisplay-cyrillic.62f762afb90d.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/PlayfairDisplay-vietnamese.774586d4bcb0.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/PlayfairDisplay-latin-ext.a81e6c6c3493.woff2") format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* devanagari */
@font-face {
  font-family: 'Baloo';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("../fonts/Baloo2-700-devanagari.b80f7ea9c7d7.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC,
    U+A830-A839, U+A8E0-A8FF;
}

/* vietnamese */
@font-face {
  font-family: 'Baloo';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("../fonts/Baloo2-700-vietnamese.73a6f83488e3.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Baloo';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("../fonts/Baloo2-700-latin-ext.9aa4daac5d2b.woff2") format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Baloo';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("../fonts/Baloo2-700-latin.dcb8c7693ab9.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Fugaz One';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/FugazOne-400-latin.4f856f88829d.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/PlayfairDisplay-latin.6da252de0cbc.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/PlayfairDisplay-cyrillic.62f762afb90d.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/PlayfairDisplay-vietnamese.774586d4bcb0.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/PlayfairDisplay-latin-ext.a81e6c6c3493.woff2") format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/PlayfairDisplay-latin.6da252de0cbc.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
