@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
:root { --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; }
html, body { font-family: var(--font-sans); }/* Card lift & soft shadow on hover */
.list article, .archive .archive-post {
  transition: transform .15s ease, box-shadow .15s ease;
  border-radius: 16px;
}
.list article:hover, .archive .archive-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
}

/* Featured image: gentle zoom on hover */
.list article .post-cover img, .single .post-cover img {
  transition: transform .2s ease, filter .2s ease;
  border-radius: 14px;
}
.list article:hover .post-cover img {
  transform: scale(1.02);
}

/* Brighter link accents + animated underline */
.post-content a, .summary a, .header a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .2s ease;
}
.post-content a:hover, .summary a:hover, .header a:hover {
  background-size: 100% 2px;
}

/* Tag pills */
.post-tags a, .tags a {
  border-radius: 999px;
  padding: .2rem .6rem;
  font-weight: 600;
  background: rgba(0,0,0,.06);
}

/* Pull-quotes (use >! in markdown, see #4) */
blockquote.fun {
  font-size: 1.1rem;
  border-left: 6px solid var(--accent, #6b7bff);
  background: rgba(107,123,255,.08);
  padding: .8rem 1rem;
  border-radius: 10px;
}

/* Code block slight theme */
pre code { filter: saturate(1.1); }
pre { border-radius: 12px; }

/* Subtle accent variable you can tune */
:root { --accent: #6b7bff; }          /* change once, affects multiple items */
.post-tags a, .summary a:hover { color: var(--accent); }


.cloze > strong {
    background-color: black;
    color: black !important;
    padding: 0.2em;
    border-radius: .5em;
    }

.reveal > strong {
    color: cornflowerblue !important;
    background-color: inherit;
    display: inline;
}

.toggle-btn {
    margin: 0 5px;
    padding: 5px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    }

    .github-card {
    border: 1px solid #e1e4e8;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12) !important;
    background: #f6f8fa;
}
.github-card h2 {
    font-size: 1.2em;
    margin-bottom: 8px;
    margin: auto;
}
.github-card h2 a {
    text-decoration: none;
    color: #0366d6;
}
.github-card p {
    margin-bottom: 10px;
}
.card-details {
    display: flex;
    gap: 10px;
    font-size: 0.9em;
}
.language {
    color: #586069;
}
.stars, .forks {
    color: #586069;
}

.grc{border:1px solid #e5e7eb;border-radius:12px;padding:16px;display:block;max-width:680px;background:#fff}
.grc-link{text-decoration:none;color:inherit;display:block}
.grc-head{display:flex;gap:12px;align-items:center;margin-bottom:8px}
.grc-avatar{width:40px;height:40px;border-radius:50%}
.grc-title{margin:0;font-size:1.05rem;line-height:1.2}
.grc-desc{margin:.25rem 0 .5rem;color:#374151}
.grc-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:.9rem;color:#6b7280}
