@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

:root {
    --primary-color: #3b82f6;
    --background-color: #ffffff;
    --text-color: #1f2937;
    --secondary-text-color: #6b7280;
    --border-color: #e5e7eb;
    --toc-background-color: #f3f4f6;
}

.dark {
    --primary-color: #3b82f6;
    --background-color: #1a1a1a;
    --text-color: #e0e0e0;
    --secondary-text-color: #b3b3b3;
    --border-color: #333;
    --toc-background-color: #2d2d2d;
}

.dark body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
}

.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 {
    color: var(--text-color);
}

.dark a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.dark a:hover {
    color: #60a5fa;
}

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

.dark .post-meta {
    color: var(--secondary-text-color);
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #60a5fa;
}

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

.post-meta {
    color: var(--secondary-text-color);
}

/* assets/css/extended/custom.css */
.hx-img { margin: 1rem 0; }
.hx-img.img-center img { display:block; margin:0 auto; }
.hx-img.img-left  { float:left;  margin: .25rem 1rem .5rem 0;  max-width:50%; }
.hx-img.img-right { float:right; margin: .25rem 0 .5rem 1rem;  max-width:50%; }
.hx-img.rounded img { border-radius: .5rem; }
@media (max-width: 768px){
  .hx-img.img-left, .hx-img.img-right { float:none; margin:.5rem 0; max-width:100%; }
}

.post-entry {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
