body {
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.twitter-tweet {
    margin: auto;
}

iframe {
    border-radius: var(--radius) !important;
}

.home-info ul {
    padding-inline-start: 20px;
}

.entry-cover img {
    border: 1px solid var(--border);
}

:root {
  --nav-height: 64px;
}

html, body {
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

body {
  padding-top: var(--nav-height);
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: var(--theme);
  border-bottom: 1px solid var(--entry);
  z-index: 1000;
}

.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--primary);
  letter-spacing: .2px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 22px;
  line-height: 1;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-block;
  }
  .nav-menu {
    position: absolute;
    top: var(--nav-height);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    background: var(--theme);
    border-bottom: 1px solid var(--entry);
    padding: 12px 16px;
  }
  .nav-menu.open {
    display: flex;
  }
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--entry);
  background: var(--theme);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  color: var(--secondary);
}

.footer-left {
  color: var(--secondary);
  font-size: 14px;
}

#theme-toggle {
  background: transparent;
  border: none;
  font-size: 14px; /* smaller than before */
  line-height: 1;
  cursor: pointer;
  color: var(--primary);
  margin-left: 6px;
  padding: 2px 4px; /* keeps clickable area */
}

#theme-toggle:hover {
  opacity: 0.7;
}

