.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #ead9ca;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header .site-nav-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header .primary-nav,
.site-header .blog-nav {
  display: flex;
  align-items: center;
}

.site-header .primary-nav { height: 4rem; }
.site-header .brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.site-header .brand img { display: block; width: auto; height: 2rem; }

.site-header .header-project-search {
  position: relative;
  flex: 1 1 18rem;
  min-width: 12rem;
  max-width: 22rem;
  margin-left: clamp(1.5rem, 4vw, 4rem);
}

.site-header .header-project-search-submit {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a7867;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color .15s ease;
}

.site-header .header-project-search-submit:hover { color: #d14d1b; }
.site-header .header-project-search-submit svg { width: 1.125rem; height: 1.125rem; }

.site-header .header-project-search input {
  display: block;
  width: 100%;
  height: 2.375rem;
  padding: .5rem .75rem .5rem 2.5rem;
  border: 1px solid #f2decb;
  border-radius: .5rem;
  outline: none;
  background: #fff;
  color: #0f0f0f;
  box-shadow: 0 1px 3px rgba(15, 15, 15, .09);
  font-family: inherit;
  font-size: .875rem;
  line-height: 1.25rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.site-header .header-project-search input::placeholder { color: #a1a1aa; opacity: 1; }
.site-header .header-project-search input:hover { border-color: #e5c9b0; }
.site-header .header-project-search input:focus {
  border-color: #e05c2a;
  box-shadow: 0 0 0 2px rgba(224, 92, 42, .14), 0 1px 3px rgba(15, 15, 15, .09);
}

.site-header .primary-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}

.site-header .primary-links a,
.site-header .category-links a,
.site-header .blog-home,
.site-header .search-link {
  color: #5c4232;
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .15s ease;
}

.site-header .primary-links a:hover,
.site-header .category-links a:hover,
.site-header .blog-home:hover,
.site-header .search-link:hover,
.site-header a.active { color: #d14d1b; }

.site-header .primary-links > a[href="index.html"] {
  color: #e05c2a;
  font-weight: 500;
}

.site-header .account-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .62rem 1rem;
  border-radius: .3rem;
  color: #fff !important;
  background: #e05c2a;
  font-weight: 600;
}

.site-header .account-link:hover { background: #d14d1b; }

.site-header .nav-dropdown { position: relative; display: inline-flex; align-items: center; }

.site-header .nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 0;
  border: 0;
  background: none;
  color: #5c4232;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color .15s ease;
}

.site-header .nav-dropdown-toggle svg { width: .625rem; height: .625rem; transition: transform .15s ease; }
.site-header .nav-dropdown:hover .nav-dropdown-toggle,
.site-header .nav-dropdown:focus-within .nav-dropdown-toggle { color: #d14d1b; }
.site-header .nav-dropdown:hover .nav-dropdown-toggle svg,
.site-header .nav-dropdown:focus-within .nav-dropdown-toggle svg { transform: rotate(180deg); }

.site-header .nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 11.5rem;
  padding: .5rem 0;
  background: #fff;
  border: 1px solid #ead9ca;
  border-radius: .375rem;
  box-shadow: 0 8px 24px rgba(15, 15, 15, .12);
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, visibility .15s ease;
}

.site-header .nav-dropdown:hover .nav-dropdown-menu,
.site-header .nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; }

.site-header .nav-dropdown-menu a {
  display: block;
  padding: .5rem 1rem;
  font-size: .875rem;
  transition: background .15s ease, color .15s ease;
}

.site-header .nav-dropdown-menu a:hover { background: #fff7f3; color: #d14d1b; }
.site-header .account-link svg,
.site-header .search-link svg { width: 1rem; height: 1rem; }

.site-header .blog-nav-wrap { border-top: 1px solid #f2decb; }
.site-header .blog-nav { min-height: 4rem; gap: 2rem; }
.site-header .blog-home {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.site-header .blog-home img {
  display: block;
  width: auto;
  height: 1.75rem;
}
.site-header .category-links { display: flex; align-items: center; gap: 2rem; }
.site-header .blog-search {
  position: relative;
  flex: 0 0 auto;
  width: 11rem;
  height: 2.5rem;
  margin-left: auto;
  transition: width .25s cubic-bezier(.4, 0, .2, 1);
}
.site-header .blog-search:focus-within { width: 18rem; }
.site-header .blog-search-control {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  cursor: text;
}
.site-header .blog-search-trigger {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #5c4232;
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .15s ease, opacity .15s ease;
}
.site-header .blog-search-trigger:hover { color: #d14d1b; }
.site-header .blog-search-trigger svg { width: 1rem; height: 1rem; }
.site-header .blog-search-input {
  position: absolute;
  right: 0;
  width: 100%;
  height: 2.5rem;
  padding: .5rem 2.25rem .5rem .8rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  outline: 0;
  background: transparent;
  color: #0f0f0f;
  font: inherit;
  font-size: .875rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.site-header .blog-search-input::placeholder { color: #8a7867; }
.site-header .blog-search:focus-within .blog-search-input {
  border-color: #e5c9b0;
  background: #fff;
  box-shadow: 0 4px 14px rgba(224, 92, 42, .08);
  opacity: 1;
  pointer-events: auto;
}
.site-header .blog-search:focus-within .blog-search-trigger {
  opacity: 0;
  pointer-events: none;
}

.site-header .topics-dropdown,
.site-header .project-pages-dropdown { position: relative; display: inline-flex; align-items: center; }
.site-header .topics-dropdown-toggle,
.site-header .project-pages-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 0;
  border: 0;
  background: none;
  color: #5c4232;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color .15s ease;
}
.site-header .topics-dropdown-toggle svg,
.site-header .project-pages-dropdown-toggle > svg { width: .625rem; height: .625rem; transition: transform .15s ease; }
.site-header .topics-dropdown-toggle.active,
.site-header .topics-dropdown:hover .topics-dropdown-toggle,
.site-header .topics-dropdown.is-open .topics-dropdown-toggle,
.site-header .project-pages-dropdown:hover .project-pages-dropdown-toggle,
.site-header .project-pages-dropdown.is-open .project-pages-dropdown-toggle { color: #d14d1b; }
.site-header .topics-dropdown.is-open .topics-dropdown-toggle svg,
.site-header .project-pages-dropdown.is-open .project-pages-dropdown-toggle > svg { transform: rotate(180deg); }
.site-header .topics-dropdown-menu,
.site-header .project-pages-dropdown-menu {
  position: absolute;
  top: calc(100% + .75rem);
  left: 50%;
  z-index: 60;
  min-width: 12rem;
  padding: .5rem 0;
  border: 1px solid #ead9ca;
  border-radius: .5rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 15, 15, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-.25rem);
  transition: opacity .15s ease, visibility .15s ease, transform .15s ease;
}
.site-header .topics-dropdown.is-open .topics-dropdown-menu,
.site-header .project-pages-dropdown.is-open .project-pages-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.site-header .topics-dropdown-menu a,
.site-header .project-pages-dropdown-menu a { display: block; padding: .55rem 1rem; }
.site-header .topics-dropdown-menu a:hover,
.site-header .topics-dropdown-menu a:focus,
.site-header .topics-dropdown-menu a.active,
.site-header .project-pages-dropdown-menu a:hover,
.site-header .project-pages-dropdown-menu a:focus { background: #fff7f3; color: #d14d1b; outline: none; }
.site-header .project-pages-dropdown-menu { min-width: 14rem; }
.site-header .project-pages-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header .project-pages-dropdown-menu .external-link-icon {
  width: .9rem;
  height: .9rem;
  flex: 0 0 auto;
}

.site-header .author-dropdown { position: relative; display: inline-flex; align-items: center; }
.site-header .author-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 0;
  border: 0;
  background: none;
  color: #5c4232;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color .15s ease;
}
.site-header .author-dropdown-toggle svg { width: .625rem; height: .625rem; transition: transform .15s ease; }
.site-header .author-dropdown:hover .author-dropdown-toggle,
.site-header .author-dropdown:focus-within .author-dropdown-toggle { color: #d14d1b; }
.site-header .author-dropdown:hover .author-dropdown-toggle svg,
.site-header .author-dropdown:focus-within .author-dropdown-toggle svg { transform: rotate(180deg); }
.site-header .author-dropdown-menu {
  position: absolute;
  top: calc(100% + .75rem);
  left: 50%;
  z-index: 60;
  min-width: 13rem;
  padding: .5rem 0;
  border: 1px solid #ead9ca;
  border-radius: .5rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 15, 15, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-.25rem);
  transition: opacity .15s ease, visibility .15s ease, transform .15s ease;
}
.site-header .author-dropdown:hover .author-dropdown-menu,
.site-header .author-dropdown:focus-within .author-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.site-header .author-dropdown-menu a { display: block; padding: .55rem 1rem; }
.site-header .author-dropdown-menu a:hover,
.site-header .author-dropdown-menu a:focus { background: #fff7f3; color: #d14d1b; outline: none; }

.site-header .mobile-nav-actions,
.site-header .mobile-search-toggle,
.site-header .mobile-search-panel,
.mobile-menu-backdrop,
.mobile-menu-drawer { display: none; }

@media (min-width: 640px) {
  .site-header .site-nav-container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .site-header .site-nav-container { padding: 0 2rem; }
}

@media (max-width: 1100px) {
  .site-header .header-project-search { max-width: 18rem; margin-left: 1.5rem; }
  .site-header .primary-links { gap: 1rem; }
}

@media (max-width: 840px) {
  .site-header .primary-links > a:not(.account-link),
  .site-header .primary-links > .nav-dropdown { display: none; }
  .site-header .header-project-search { max-width: none; }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    display: contents;
  }
  .site-header .primary-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    height: 3.75rem;
    min-height: 3.75rem;
    gap: .35rem;
    padding: 0 1rem;
    background: #fff;
  }
  .site-header .mobile-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #18181b;
    cursor: pointer;
  }
  .site-header .mobile-nav-icon:hover { background: #f6f5f0; }
  .site-header .mobile-nav-icon svg { width: 1.25rem; height: 1.25rem; }
  .site-header .brand { justify-self: start; }
  .site-header .brand img { height: 1.75rem; }
  .site-header .mobile-nav-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: .15rem;
  }
  .site-header .header-project-search {
    display: none;
  }
  .site-header .primary-links { display: none; }
  .site-header .blog-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 100;
    display: block;
    border-top: 1px solid #f2decb;
    border-bottom: 1px solid #ead9ca;
    background: #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .site-header .blog-nav {
    min-height: 3.5rem;
    gap: .85rem;
    padding: 0 1rem;
    overflow: visible;
  }
  .site-header .blog-home img { height: 1.25rem; }
  .site-header .category-links { gap: 1rem; }
  .site-header .blog-search { display: none; }
  .site-header .blog-nav > .mobile-search-toggle {
    display: inline-flex;
    margin-left: auto;
    flex: 0 0 2.5rem;
  }
  .site-header .topics-dropdown,
  .site-header .project-pages-dropdown { position: static; }
  .site-header .topics-dropdown-menu,
  .site-header .project-pages-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    min-width: 0;
    max-width: none;
    max-height: calc(100vh - 3.5rem);
    overflow-y: auto;
    border-radius: 0 0 .5rem .5rem;
    transform: translateY(-.25rem);
  }
  .site-header .topics-dropdown.is-open .topics-dropdown-menu,
  .site-header .project-pages-dropdown.is-open .project-pages-dropdown-menu {
    transform: translateY(0);
  }
  .site-header .mobile-search-panel {
    position: sticky;
    top: 3.5rem;
    z-index: 99;
    padding: .75rem 1rem;
    border-top: 1px solid #f2decb;
    border-bottom: 1px solid #ead9ca;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 15, 15, .08);
  }
  .site-header.mobile-search-open .mobile-search-panel { display: block; }
  .site-header .mobile-blog-search { position: relative; margin: 0; }
  .site-header .mobile-blog-search svg {
    position: absolute;
    top: 50%;
    left: .85rem;
    width: 1.1rem;
    height: 1.1rem;
    color: #8a7867;
    pointer-events: none;
    transform: translateY(-50%);
  }
  .site-header .mobile-blog-search input {
    display: block;
    width: 100%;
    height: 2.75rem;
    padding: .6rem .9rem .6rem 2.65rem;
    border: 1px solid #e5c9b0;
    border-radius: .35rem;
    outline: 0;
    background: #fff;
    color: #0f0f0f;
    box-shadow: 0 1px 4px rgba(15, 15, 15, .08);
    font: inherit;
    font-size: 1rem;
  }
  .site-header .mobile-blog-search input:focus {
    border-color: #e05c2a;
    box-shadow: 0 0 0 2px rgba(224, 92, 42, .14);
  }
  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: rgba(15, 15, 15, .42);
    opacity: 0;
    transition: opacity .2s ease;
  }
  .mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: flex;
    width: min(86vw, 22rem);
    padding: 1rem;
    flex-direction: column;
    overflow-y: auto;
    background: #fff;
    box-shadow: -10px 0 32px rgba(15, 15, 15, .16);
    transform: translateX(105%);
    transition: transform .22s cubic-bezier(.4, 0, .2, 1);
  }
  body.mobile-menu-open { overflow: hidden; }
  body.mobile-menu-open .mobile-menu-backdrop { display: block; opacity: 1; }
  body.mobile-menu-open .mobile-menu-drawer { transform: translateX(0); }
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f2decb;
  }
  .mobile-menu-home {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #5c4232;
  }
  .mobile-menu-home .brand-return-arrow {
    display: block;
    width: 1.125rem;
    height: 1.125rem;
    flex: 0 0 auto;
    transition: color .15s ease, transform .15s ease;
  }
  .mobile-menu-home:hover .brand-return-arrow {
    color: #e05c2a;
    transform: translateX(-2px);
  }
  .mobile-menu-home:focus-visible {
    border-radius: .25rem;
    outline: 2px solid #e05c2a;
    outline-offset: 4px;
  }
  .mobile-menu-header img { display: block; width: auto; height: 1.75rem; }
  .mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #18181b;
    cursor: pointer;
  }
  .mobile-menu-close:hover { background: #f6f5f0; }
  .mobile-menu-close svg { width: 1.2rem; height: 1.2rem; }
  .mobile-menu-section { padding: 1rem 0; border-bottom: 1px solid #f2decb; }
  .mobile-menu-section:last-child { border-bottom: 0; }
  .mobile-menu-title {
    margin: 0 0 .45rem;
    color: #8a7867;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .mobile-menu-drawer nav { display: grid; gap: .15rem; }
  .mobile-menu-drawer nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem .4rem;
    border-radius: .35rem;
    color: #2f251f;
    font-size: 1rem;
    font-weight: 500;
  }
  .mobile-menu-drawer nav a:hover,
  .mobile-menu-drawer nav a.active { background: #fff7f3; color: #d14d1b; }
  .mobile-menu-drawer .external-link-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
  }
  .mobile-menu-footer {
    margin-top: auto;
    padding: 1rem 0 max(0rem, env(safe-area-inset-bottom));
  }
  .mobile-menu-signin {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: .7rem 1rem;
    border-radius: .35rem;
    background: #e05c2a;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color .15s ease, transform .15s ease;
  }
  .mobile-menu-signin:hover { background: #c94718; }
  .mobile-menu-signin:active { transform: scale(.98); }
  .mobile-menu-signin:focus-visible {
    outline: 2px solid #e05c2a;
    outline-offset: 3px;
  }
}

@media (max-width: 360px) {
  .site-header .blog-nav { gap: .45rem; padding: 0 .75rem; }
  .site-header .category-links { gap: .6rem; }
  .site-header .topics-dropdown-toggle,
  .site-header .project-pages-dropdown-toggle { font-size: .8125rem; }
  .site-header .blog-nav > .mobile-search-toggle { flex-basis: 2.25rem; width: 2.25rem; height: 2.25rem; }
}

/* Unified Blog navigation */
.article-unified-header {
  border-bottom-color: #f2decb;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
}

.article-unified-header .article-unified-nav {
  height: 3.5rem;
  min-height: 3.5rem;
  gap: 1.75rem;
}

.article-unified-header .brand img { width: 4.5rem; height: auto; }

.article-unified-header .brand-return-link {
  gap: .625rem;
  color: #5c4232;
}

.article-unified-header .brand-return-arrow {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  flex: 0 0 auto;
  transition: color .15s ease, transform .15s ease;
}

.article-unified-header .brand-return-link:hover .brand-return-arrow {
  color: #e05c2a;
  transform: translateX(-2px);
}

.article-unified-header .brand-return-link:focus-visible {
  border-radius: .25rem;
  outline: 2px solid #e05c2a;
  outline-offset: 4px;
}

.article-nav-divider {
  width: 1px;
  height: 2.5rem;
  flex: 0 0 1px;
  background: #f2decb;
}

.article-unified-header .article-blog-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #18181b;
  font-weight: 500;
}

.article-unified-header .article-blog-link:hover { color: #0f0f0f; }
.article-unified-header .article-blog-link svg { width: .75rem; height: .75rem; }
.article-unified-header .category-links { gap: 1.75rem; }

.article-unified-header .topics-dropdown-toggle,
.article-unified-header .project-pages-dropdown-toggle {
  color: #5c4232;
  font-weight: 400;
}

.article-unified-header .topics-dropdown-toggle.active {
  color: #0f0f0f;
  font-weight: 500;
}

.article-unified-header .topics-dropdown:hover .topics-dropdown-toggle,
.article-unified-header .topics-dropdown.is-open .topics-dropdown-toggle,
.article-unified-header .project-pages-dropdown:hover .project-pages-dropdown-toggle,
.article-unified-header .project-pages-dropdown.is-open .project-pages-dropdown-toggle { color: #0f0f0f; }

.article-unified-search {
  position: relative;
  display: flex;
  flex: 0 0 22rem;
  width: 22rem;
  height: 2.375rem;
  margin-left: auto;
}

.article-unified-search button {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: inline-flex;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5c4232;
  cursor: pointer;
}

.article-unified-search button svg { width: 1rem; height: 1rem; }

.article-unified-search input {
  width: 100%;
  min-width: 0;
  padding: .5rem 2.25rem .5rem 2.5rem;
  border: 1px solid #f2decb;
  border-radius: .5rem;
  outline: 0;
  background: #fff;
  color: #18181b;
  font: inherit;
  box-shadow: 0 1px 2px rgba(15, 15, 15, .05);
  font-size: .875rem;
  line-height: 1.25rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.article-unified-search input::placeholder { color: #a1a1aa; opacity: 1; }
.article-unified-search input:hover { border-color: #e5c9b0; }
.article-unified-search:focus-within input { border-color: #e05c2a; box-shadow: 0 0 0 1px rgba(224, 92, 42, .3); }

.article-unified-header .article-signin-link {
  width: auto;
  height: 2.375rem;
  justify-content: center;
  padding: 0 1rem;
  border-radius: .25rem;
  font-size: 1rem;
  font-weight: 400;
}

@media (max-width: 900px) {
  .article-unified-header .article-unified-nav { gap: 1rem; }
  .article-unified-header .category-links { gap: 1rem; }
  .article-unified-search { width: 12rem; flex-basis: 12rem; }
}

@media (max-width: 760px) {
  .article-unified-header {
    position: sticky;
    top: 0;
    display: block;
  }

  .article-unified-header .article-unified-nav {
    display: flex;
    height: 3.5rem;
    min-height: 3.5rem;
    gap: .85rem;
    padding: 0 1rem;
  }

  .article-unified-header .brand { justify-self: auto; }
  .article-unified-header .brand-return-link { display: none; }
  .article-unified-header .article-blog-link { font-size: .875rem; }
  .article-unified-header .article-blog-link svg { width: 1rem; height: 1rem; }
  .article-unified-header .category-links { display: flex; gap: .6rem; }
  .article-unified-header .topics-dropdown-toggle,
  .article-unified-header .project-pages-dropdown-toggle { font-size: .875rem; }
  .article-unified-header .article-nav-divider,
  .article-unified-header .article-unified-search,
  .article-unified-header .article-signin-link { display: none; }
  .article-unified-header .mobile-nav-icon { width: 2.25rem; height: 2.25rem; }
  .article-unified-header .blog-nav > .mobile-search-toggle { flex-basis: 2.25rem; margin-left: auto; }
  .article-unified-header .mobile-search-panel { position: relative; top: auto; }
  .article-unified-header .reading-progress-track { position: absolute; top: auto; bottom: -4px; }
}

@media (max-width: 380px) {
  .article-unified-header .article-unified-nav { gap: .85rem; padding: 0 .75rem; }
  .article-unified-header .category-links { gap: .45rem; }
  .article-unified-header .topics-dropdown-toggle,
  .article-unified-header .project-pages-dropdown-toggle { font-size: .875rem; }
}

/* Shared ReraTracker footer */
.rt-site-footer {
  margin-top: 2rem;
  padding: 0;
  border-top: 1px solid #f2decb;
  background: #fafbfc;
  color: #0f0f0f;
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
}
.rt-site-footer * { box-sizing: border-box; }
.rt-footer-container {
  width: min(100%, 80rem);
  margin: 0 auto;
  padding: 2rem 2rem;
}
.rt-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
.rt-footer-brand-logo {
  display: block;
  width: auto;
  height: 2rem;
}
.rt-footer-description {
  max-width: 22rem;
  margin: 1rem 0;
  color: #5c4232;
  font-size: .875rem;
  line-height: 1.55;
}
.rt-footer-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.rt-footer-socials a {
  display: inline-flex;
  color: #5c4232;
  transition: color .15s ease;
}
.rt-footer-socials a:hover,
.rt-footer-links a:hover,
.rt-footer-legal-links a:hover { color: #d14d1b; }
.rt-footer-socials svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}
.rt-footer-play-badge {
  display: inline-block;
  margin-top: .5rem;
  margin-left: -.75rem;
}
.rt-footer-play-badge img {
  display: block;
  width: 10rem;
  height: auto;
}
.rt-footer-column h3 {
  margin: 0 0 1rem;
  color: #0f0f0f;
  font-size: .875rem;
  font-weight: 600;
}
.rt-footer-links {
  display: grid;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rt-footer-links a,
.rt-footer-legal,
.rt-footer-legal-links a {
  color: #5c4232;
  font-size: .875rem;
  line-height: 1.5;
}
.rt-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #f2decb;
}
.rt-footer-legal { max-width: 38rem; }
.rt-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
}

/* Listing pagination */
.listing-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: -1.5rem auto 4rem;
  font-size: .875rem;
}
.author-articles .listing-pagination { margin: 2.5rem auto 0; }
.pagination-button {
  min-width: 6.5rem;
  padding: .7rem 1.1rem;
  border: 1px solid #dedede;
  border-radius: 999px;
  background: transparent;
  color: #263142;
  font: inherit;
  font-weight: 500;
}
.pagination-button:disabled {
  border-color: #e2e5e9;
  color: #c7ccd4;
  cursor: not-allowed;
}
.pagination-status {
  min-width: 5.25rem;
  color: #596273;
  text-align: center;
}

body { padding-bottom: 80px; }

article.card .tag:hover,
article.card .tag-outline:hover,
article.card h3 a:hover,
article.card .author-profile-link:hover .author-name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

@media (max-width: 1023px) {
  .rt-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt-footer-brand,
  .rt-footer-support { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .rt-footer-container { padding: 2rem; }
  .rt-footer-grid { gap: 2rem; }
  .rt-footer-bottom {
    align-items: center;
    flex-direction: column;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    text-align: center;
  }
  .listing-pagination {
    gap: .75rem;
    margin-bottom: 3rem;
  }
  .pagination-button {
    min-width: 0;
    padding: .65rem .85rem;
  }
}
