/* ==========================================================================
   Terminal Dark Theme - Complete CSS
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

:root {
  --bg: #0d1117;
  --bg-elevated: #161b22;
  --bg-subtle: #21262d;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --text-subtle: #6e7681;
  --border: #30363d;
  --accent: #58a6ff;
  --purple: #a371f7;
  --green: #3fb950;
  --orange: #d29922;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  --font-sans: 'IBM Plex Sans', -apple-system, sans-serif;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ==========================================================================
   Container Styles
   ========================================================================== */

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container.wide {
  max-width: 1100px;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

header {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

header .container {
  display: block;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prompt {
  font-family: var(--font-mono);
  color: var(--green);
  font-size: 1rem;
}

.site-title {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
}

.site-title:hover {
  color: var(--accent);
  text-decoration: none;
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 1.2em;
  background: var(--accent);
  margin-left: 4px;
}

/* ==========================================================================
   Social Icons
   ========================================================================== */

.social-icons {
  display: flex;
  gap: 0.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.social-icons a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--bg-elevated);
  text-decoration: none;
}

.social-icons svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ==========================================================================
   Header Controls, Navigation and Search
   ========================================================================== */

.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav {
  display: flex;
  gap: 0.5rem;
}

nav a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-elevated);
  transition: all 0.15s ease;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  height: 34px;
  box-sizing: border-box;
}

nav a:hover {
  background: var(--bg-subtle);
  border-color: var(--accent);
  text-decoration: none;
}

.search-container {
  position: relative;
  flex: 1;
  max-width: 200px;
}

.search-input,
#search-input {
  width: 100%;
  height: 34px;
  padding: 0 0.75rem 0 2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, width 0.2s;
  box-sizing: border-box;
}

.search-input::placeholder,
#search-input::placeholder {
  color: var(--text-subtle);
}

.search-input:focus,
#search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.15);
}

.search-icon {
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  pointer-events: none;
}

.search-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}

.search-results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  min-width: 300px;
  max-height: 400px;
  overflow-y: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  margin-top: 0.5rem;
  z-index: 1000;
}

.search-results.active { display: block; }

.search-result {
  display: block;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.search-result:last-child { border-bottom: none; }

.search-result:hover {
  background: var(--bg-subtle);
  text-decoration: none;
}

.search-result-title {
  display: block;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.search-result-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.search-no-results {
  padding: 1rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   Homepage Sections
   ========================================================================== */

section { margin-bottom: 2.5rem; }

section h2 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

section h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-header {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Bio Section */
.bio {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 2.5rem;
}

.bio p { margin-bottom: 1rem; }
.bio p:last-child { margin-bottom: 0; }

.bio a {
  color: var(--purple);
}

.bio ul {
  list-style: none;
  padding-left: 0;
}

.bio li {
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.bio li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-subtle);
}

/* ==========================================================================
   Links List and Featured Post
   ========================================================================== */

.links-list {
  list-style: none;
}

.links-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 0.5rem;
  transition: border-color 0.15s;
}

.links-list li:hover {
  border-color: var(--accent);
}

.links-list a {
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.links-list a::before {
  content: '→';
  color: var(--accent);
  font-family: var(--font-mono);
}

.links-list a:hover {
  color: var(--accent);
  text-decoration: none;
}

.link-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-subtle);
}

/* Posts list (for latest posts section) */
.posts-list {
  list-style: none;
  margin-top: 1rem;
}

.posts-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.posts-list li:last-child {
  border-bottom: none;
}

.posts-list .post-link {
  font-weight: 500;
  color: var(--text);
}

.posts-list .post-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.posts-list .post-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-subtle);
}

/* Featured Post Card */
.featured-post {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 8px;
  transition: border-color 0.15s;
}

.featured-post:hover {
  border-color: var(--accent);
  border-left-color: var(--green);
}

.featured-post h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.featured-post h3 a {
  color: var(--text);
}

.featured-post h3 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.featured-post .excerpt {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.featured-post .meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-subtle);
}

/* View All Link */
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: 1rem;
  padding: 0.5rem 0;
}

.view-all::before {
  content: '$';
  color: var(--green);
}

.view-all:hover {
  text-decoration: underline;
}

/* Updates list */
.updates-list { list-style: none; }

.updates-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.updates-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.update-date { font-weight: 500; color: var(--text); }
.update-summary { color: var(--text-muted); }

/* ==========================================================================
   Post Layout with ToC
   ========================================================================== */

.post-layout {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 4rem;
}

.post-main { max-width: 720px; }

/* ==========================================================================
   Post Header and Content
   ========================================================================== */

.post-header {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 8px;
}

.post-header h1 {
  font-size: 1.75rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.post-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-subtle);
}

/* Post Content */
.post-content {
  line-height: 1.7;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2 {
  font-size: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.post-content h2::before {
  content: '##';
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--orange);
}

.post-content h3 {
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.post-content h3::before {
  content: '### ';
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.post-content a {
  color: var(--purple);
}

.post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content li::marker {
  color: var(--text-subtle);
}

.post-content strong {
  font-weight: 600;
  color: var(--accent);
}

.post-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--bg-subtle);
  border-left: 3px solid var(--purple);
  border-radius: 0 6px 6px 0;
  color: var(--text-muted);
}

.post-content blockquote p:last-child {
  margin-bottom: 0;
}

.post-content code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-subtle);
  padding: 0.15em 0.35em;
  border-radius: 3px;
  color: var(--text);
}

.post-content pre {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.post-content pre code {
  background: none;
  padding: 0;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1rem 0;
}

.post-content figure {
  margin: 1rem 0;
}

.post-content figure img {
  margin: 0;
  display: block;
}

.post-content figcaption {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

.post-content hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

/* ==========================================================================
   Post Footer and Back Link
   ========================================================================== */

.post-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
}

.back-link::before {
  content: '$ cd';
  color: var(--green);
}

.back-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-subtle);
}

footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer a {
  color: var(--text-muted);
}

footer a:hover {
  color: var(--accent);
}

footer .links {
  display: flex;
  gap: 1rem;
}

footer .social-icons {
  border-left: none;
  padding-left: 0;
  margin-left: 0;
}

/* ==========================================================================
   Table of Contents
   ========================================================================== */

.toc {
  position: sticky;
  top: 2rem;
  align-self: start;
  font-size: 0.8rem;
}

.toc-title {
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.toc-title::before {
  content: '// ';
}

.toc-list {
  list-style: none;
  border-left: 1px solid var(--border);
  padding-left: 1rem;
}

.toc-list li { margin-bottom: 0.5rem; }

.toc-list a {
  font-family: var(--font-mono);
  color: var(--text-muted);
  line-height: 1.4;
}

.toc-list a:hover {
  color: var(--accent);
  text-decoration: none;
}

.toc-list a.active {
  color: var(--accent);
  font-weight: 500;
}

/* ==========================================================================
   Archive List
   ========================================================================== */

.archive-list { list-style: none; }

.archive-list li {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.archive-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.archive-list .post-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
}

.archive-list .post-title:hover {
  color: var(--accent);
  text-decoration: none;
}

.archive-list .post-meta {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.archive-list .post-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   GitHub Embeds
   ========================================================================== */

.gh-embed {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.8rem;
  margin: 0.5rem 0;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--bg-elevated);
}

.gh-embed-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--text-muted); }
.gh-embed-icon svg { width: 100%; height: 100%; fill: currentColor; }
.gh-embed-content { flex: 1; min-width: 0; }

.gh-embed-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gh-embed-title a { color: var(--text); }
.gh-embed-title a:hover { color: var(--accent); text-decoration: none; }
.gh-embed-meta { font-size: 0.85rem; color: var(--text-muted); }

.gh-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.15em 0.5em;
  border-radius: 3px;
  font-weight: 500;
}

.gh-status.merged { background: #8250df; color: white; }
.gh-status.open { background: var(--green); color: white; }
.gh-status.closed { background: #da3633; color: white; }

.gh-repo-embed {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.8rem;
  margin: 0.5rem 0;
  background: var(--bg-elevated);
}

.gh-repo-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.gh-repo-icon { width: 16px; height: 16px; color: var(--text-muted); }
.gh-repo-name { font-weight: 600; }
.gh-repo-name a { color: var(--accent); }
.gh-repo-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.75rem; }

.gh-repo-stats {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.gh-repo-stat {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.gh-repo-stat svg { width: 14px; height: 14px; fill: currentColor; }

.gh-lang-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #701516;
}

.gh-error {
  color: var(--text-muted);
  font-style: italic;
  padding: 1rem;
  background: var(--bg-subtle);
  border-radius: 6px;
  margin: 1rem 0;
}

/* ==========================================================================
   Talks Page
   ========================================================================== */

.talks-list {
  list-style: none;
}

.talk-showcase {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: border-color 0.15s;
}

.talk-showcase:hover {
  border-color: var(--accent);
}

.talk-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg);
}

.talk-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.talk-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  gap: 0.5rem;
}

.talk-video-placeholder svg {
  width: 48px;
  height: 48px;
  fill: var(--text-subtle);
}

.talk-content {
  padding: 1.5rem;
}

.talk-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.talk-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.talk-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.talk-meta-item svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.talk-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.talk-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.talk-links {
  display: flex;
  gap: 0.75rem;
}

.talk-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.15s;
}

.talk-link:hover {
  border-color: var(--accent);
  background: var(--bg-subtle);
  text-decoration: none;
}

.talk-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.talk-link.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.talk-link.primary:hover {
  filter: brightness(1.15);
}

.also-presented {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.talks-cta {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.talks-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.15s;
}

.talks-cta-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-elevated);
  text-decoration: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet breakpoint */
@media (max-width: 900px) {
  .post-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    display: none;
  }
}

/* Small tablet / large phone */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  header {
    padding: 1.5rem 0 1rem;
    margin-bottom: 1.5rem;
  }

  .header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .header-controls {
    width: 100%;
    flex-wrap: nowrap;
    align-items: center;
  }

  .search-container {
    flex: 1;
    min-width: 0;
  }

  section {
    margin-bottom: 2rem;
  }

  footer {
    margin-top: 2rem;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }

  footer .links {
    justify-content: center;
  }

  .search-results {
    position: fixed;
    top: auto;
    left: 1rem;
    right: 1rem;
    width: auto;
    max-width: none;
    min-width: auto;
  }

  .post-header h1 {
    font-size: 1.5rem;
  }

  .post-content h2 {
    font-size: 1.15rem;
    margin-top: 2rem;
  }

  .post-content h3 {
    font-size: 1.05rem;
  }

  .featured-post {
    padding: 1rem;
  }

  .archive-list li {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
  }
}

/* Mobile phone */
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .site-title {
    font-size: 1.1rem;
  }

  .prompt {
    font-size: 0.9rem;
  }

  .post-header h1 {
    font-size: 1.4rem;
  }

  .post-content h2 {
    font-size: 1.1rem;
  }

  .post-content h2::before {
    display: none;
  }

  .post-content h3::before {
    display: none;
  }

  .bio {
    padding: 1rem;
  }

  .featured-post {
    padding: 1rem;
  }

  .gh-embed {
    flex-direction: column;
    gap: 0.5rem;
  }

  .gh-repo-stats {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  nav a {
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
  }

  .social-icons a {
    width: 28px;
    height: 28px;
  }

  .social-icons svg {
    width: 14px;
    height: 14px;
  }

  .search-results {
    position: fixed;
    top: auto;
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    max-width: none;
    min-width: auto;
  }

  .search-result {
    padding: 0.5rem 0.75rem;
  }

  .post-footer {
    margin-top: 2rem;
    padding-top: 1rem;
  }

  .posts-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .posts-list .post-date {
    font-size: 0.75rem;
  }

  footer {
    padding: 1rem 0;
    margin-top: 1.5rem;
  }

  section h2,
  .section-header {
    font-size: 0.75rem;
  }

  .links-list li {
    padding: 0.6rem 0.75rem;
  }

  .links-list a::before {
    font-size: 0.9rem;
  }

  .talk-content {
    padding: 1rem;
  }

  .talk-title {
    font-size: 1.1rem;
  }

  .talk-links {
    flex-direction: column;
    width: 100%;
  }

  .talk-link {
    justify-content: center;
  }
}
