:root {
  --base:        #111111;
  --mantle:      #181818;
  --crust:       #0a0a0a;
  --surface0:    #202020;
  --surface1:    #2a2a2a;
  --surface2:    #343434;
  --overlay0:    #3f3f3f;
  --overlay1:    #5a5a5a;
  --overlay2:    #767676;
  --text:        #e6e6e6;
  --subtext1:    #cfcfcf;
  --subtext0:    #b5b5b5;
  --rosewater:   #dcdcdc;
  --flamingo:    #c8c8c8;
  --pink:        #b4b4b4;
  --mauve:       #a0a0a0;
  --red:         #8c8c8c;
  --maroon:      #787878;
  --peach:       #646464;
  --yellow:      #505050;
  --green:       #3c3c3c;
  --teal:        #2e2e2e;
  --sky:         #242424;
  --sapphire:    #1c1c1c;
  --blue:        #161616;
  --lavender:    #101010;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--base);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85em;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--surface0);
  z-index: 1000;
}

.nav-brand {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-brand:hover {
  color: var(--rosewater);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--subtext0);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface0);
}

.nav-link.active {
  color: var(--text);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--subtext0);
  transition: all 0.2s;
}

.hero-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 0;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  max-width: 600px;
  width: 100%;
  text-align: center;
  flex: 1;
  justify-content: center;
}

.avatar-ring {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 1px solid var(--overlay0);
  padding: 3px;
  flex-shrink: 0;
  position: relative;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.avatar-fallback {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--surface1);
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: 2.5rem;
  color: var(--subtext0);
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-name {
  font-family: 'Lora', serif;
  font-size: clamp(3rem, 10vw, 4.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.01em;
}

.hero-tagline {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--subtext1);
  letter-spacing: 0.02em;
}

.hero-bio {
  max-width: 480px;
  margin-top: 0.5rem;
}

.hero-bio p {
  font-size: 1rem;
  color: var(--subtext1);
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  color: var(--overlay2);
  background: var(--surface0);
  border: 1px solid var(--surface1);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social-link:hover {
  color: var(--text);
  border-color: var(--overlay0);
  background: var(--surface1);
}

/* ——— Page layouts ——— */
.page-main {
  flex: 1;
  padding: 8rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.page-header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--surface1);
}

.page-title {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  text-transform: capitalize;
}

.page-desc {
  font-size: 0.95rem;
  color: var(--subtext0);
  font-style: italic;
}

/* ——— Post page ——— */
.post-main {
  flex: 1;
  padding: 7rem 2rem 4rem;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.back-link {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--overlay2);
  text-decoration: none;
  margin-bottom: 3rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--subtext0);
}

.post-article h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
}

.post-article .md-content {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--subtext1);
}

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

.post-article .md-content h2 {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--surface1);
}

.post-article .md-content h3 {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  margin: 2rem 0 0.75rem;
}

.post-article .md-content h4 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}

.post-article .md-content a {
  color: var(--flamingo);
  text-decoration: underline;
  text-decoration-color: var(--overlay0);
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.post-article .md-content a:hover {
  color: var(--rosewater);
}

.post-article .md-content code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85em;
  background: var(--surface0);
  border: 1px solid var(--surface1);
  padding: 0.1em 0.35em;
  border-radius: 3px;
  color: var(--flamingo);
}

.post-article .md-content pre {
  background: var(--crust);
  border: 1px solid var(--surface1);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.post-article .md-content pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  color: var(--subtext1);
  line-height: 1.7;
}

.post-article .md-content blockquote {
  border-left: 3px solid var(--overlay0);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--subtext0);
  font-style: italic;
}

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

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

.post-article .md-content hr {
  border: none;
  border-top: 1px solid var(--surface1);
  margin: 2.5rem 0;
}

.post-article .md-content img {
  max-width: 100%;
  border-radius: 6px;
  border: 1px solid var(--surface1);
  margin: 1.5rem 0;
}

.post-article .md-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.post-article .md-content th,
.post-article .md-content td {
  padding: 0.6rem 1rem;
  text-align: left;
  border: 1px solid var(--surface1);
}

.post-article .md-content th {
  background: var(--surface0);
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
}

/* ——— Projects ——— */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1px;
  background: var(--surface0);
  border: 1px solid var(--surface0);
  border-radius: 8px;
  overflow: hidden;
}

.project-card {
  background: var(--base);
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border-radius: 6px;
}

.project-card:hover {
  background: var(--mantle);
}

.project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.project-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
}

.project-links {
  display: flex;
  gap: 0.5rem;
}

.project-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--overlay2);
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--surface2);
  border-radius: 3px;
  transition: all 0.2s;
  white-space: nowrap;
}

.project-link:hover {
  color: var(--text);
  border-color: var(--overlay0);
  background: var(--surface0);
}

.project-desc {
  font-size: 0.9rem;
  color: var(--subtext0);
  line-height: 1.7;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-image-header {
  width: 100%;
  height: 200px;
  background: var(--crust);
  border-bottom: 1px solid var(--surface0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-image-header:hover {
  background: var(--surface1);
  filter: brightness(1.1);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-image-header:hover .project-image {
  transform: scale(1.05);
}

.project-image-header-empty {
  width: 100%;
  height: 0;
  background: transparent;
  border: none;
}

.project-card {
  background: var(--base);
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border-radius: 6px;
}

.project-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.gallery-modal.active {
  display: flex;
  opacity: 1;
}

.gallery-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  animation: galleryFadeIn 0.3s ease;
}

@keyframes galleryFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  background: var(--base);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2001;
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: -70px;
}

.gallery-next {
  right: -70px;
}

.gallery-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2002;
  line-height: 1;
}

.gallery-close:hover {
  color: var(--pink);
  transform: scale(1.2);
}

.gallery-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gallery-title {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}

.gallery-counter {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--overlay2);
  letter-spacing: 1px;
}

.contact-page {
  max-width: 1000px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-block {
  margin-bottom: 2.5rem;
}

.contact-section-title {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--surface1);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-method {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.contact-method:hover {
  background: var(--surface0);
  border-color: var(--surface1);
}

.contact-method-label {
  font-size: 0.7rem;
  color: var(--overlay2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-method-value {
  font-size: 0.9rem;
  color: var(--subtext1);
}

.open-to-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.open-to-list li {
  font-size: 0.9rem;
  color: var(--subtext0);
  padding-left: 1rem;
  position: relative;
}

.open-to-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--overlay1);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
}

.contact-note {
  font-size: 0.875rem;
  color: var(--overlay2);
  font-style: italic;
  line-height: 1.7;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.75rem;
  color: var(--overlay2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-input {
  background: var(--surface0);
  border: 1px solid var(--surface2);
  border-radius: 5px;
  padding: 0.7rem 0.9rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.form-input::placeholder {
  color: var(--overlay1);
}

.form-input:focus {
  border-color: var(--overlay0);
  background: var(--mantle);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  font-family: 'IBM Plex Sans', sans-serif;
  line-height: 1.6;
}

.form-submit {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
  padding: 0.8rem 1.5rem;
  background: var(--surface1);
  border: 1px solid var(--surface2);
  border-radius: 5px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--surface2);
  border-color: var(--overlay0);
}

.form-status {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  color: var(--overlay2);
  min-height: 1.2rem;
}

footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--surface0);
  margin-top: auto;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--subtext0);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-right {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
}

.loading-state {
  padding: 3rem 0;
  color: var(--overlay2);
  font-size: 0.875rem;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .gallery-prev {
    left: -50px;
  }

  .gallery-next {
    right: -50px;
  }

  .gallery-close {
    top: -40px;
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }

  .gallery-image {
    max-height: 60vh;
  }

  .project-image-header {
    height: 150px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(17, 17, 17, 0.97);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--surface1);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .nav-divider {
    display: none;
  }

  .hero-main {
    padding-top: 5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0 1.25rem;
  }

  .gallery-content {
    max-width: 95vw;
    max-height: 85vh;
  }

  .gallery-nav {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .gallery-prev {
    left: -40px;
  }

  .gallery-next {
    right: -40px;
  }

  .gallery-close {
    top: -35px;
    width: 30px;
    height: 30px;
    font-size: 1.3rem;
  }

  .gallery-image {
    max-height: 50vh;
  }

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

  .project-image-header {
    height: 120px;
  }

  .page-main {
    padding: 6rem 1.25rem 3rem;
  }

  .post-main {
    padding: 6rem 1.25rem 3rem;
  }
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 3rem 1.1rem 1.25rem;
  border: 1px solid var(--surface1);
  border-radius: 10px;
  background: var(--mantle);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, background 0.18s ease,
              transform 0.18s ease, box-shadow 0.18s ease;
}

.blog-row::after {
  content: '\2192';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem;
  color: var(--overlay1);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.blog-row:hover,
.blog-row:focus-visible {
  border-color: var(--surface2);
  background: var(--surface0);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.65);
  outline: none;
}

.blog-row:focus-visible {
  border-color: var(--overlay1);
}

.blog-row:active {
  transform: translateY(0);
}

.blog-row:hover::after,
.blog-row:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  color: var(--text);
}

.blog-row:hover .blog-row-title,
.blog-row:focus-visible .blog-row-title {
  color: var(--rosewater);
}

.blog-row-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.15s;
}

.blog-row-desc {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--subtext0);
}

@media (prefers-reduced-motion: reduce) {
  .blog-row,
  .blog-row::after { transition: border-color 0.18s ease, background 0.18s ease; }
  .blog-row:hover,
  .blog-row:focus-visible,
  .blog-row:active { transform: none; }
}

.code-block {
  position: relative;
  margin: 1.5rem 0;
}

.code-block pre {
  margin: 0;
}

.code-header {
  display: none;
}

.copy-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: var(--overlay1);
  background: var(--surface0);
  border: 1px solid var(--surface2);
  border-radius: 3px;
  padding: 0.15rem 0.45rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s, color 0.15s;
  z-index: 1;
}

.code-block:hover .copy-btn {
  opacity: 1;
}

.copy-btn:hover {
  color: var(--text);
  border-color: var(--overlay0);
}

.md-content img {
  max-width: 100%;
  border-radius: 6px;
  border: 1px solid var(--surface1);
  display: block;
  margin: 1rem auto;
}

.contact-cat-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.contact-cat-img {
  width: 500px;
  height: 650px;
  border-radius: 8px;
  border: 1px solid var(--surface1);
  object-fit: cover;
}

.contact-cat-fallback {
  display: none;
  width: 100%;
  height: 320px;
  border: 1px dashed var(--surface2);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: var(--overlay2);
}

.markdown-alert {
  border-left: 3px solid var(--overlay1);
  background: var(--mantle);
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.markdown-alert-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.markdown-alert-title svg {
  flex-shrink: 0;
  fill: currentColor;
}

.post-article .md-content .markdown-alert p {
  margin-bottom: 0.75rem;
}

.post-article .md-content .markdown-alert p:last-child {
  margin-bottom: 0;
}

.post-article .md-content .markdown-alert .markdown-alert-title {
  margin-bottom: 0.5rem;
}

.markdown-alert-note      { border-left-color: #1f6feb; }
.markdown-alert-tip       { border-left-color: #238636; }
.markdown-alert-important { border-left-color: #8957e5; }
.markdown-alert-warning   { border-left-color: #9e6a03; }
.markdown-alert-caution   { border-left-color: #da3633; }

.markdown-alert-note .markdown-alert-title      { color: #58a6ff; }
.markdown-alert-tip .markdown-alert-title       { color: #3fb950; }
.markdown-alert-important .markdown-alert-title { color: #a371f7; }
.markdown-alert-warning .markdown-alert-title   { color: #d29922; }
.markdown-alert-caution .markdown-alert-title   { color: #f85149; }
