/* Override projects card height for text-only cards */
#projects .card.h-auto {
    min-height: 200px !important;
    height: auto !important;
    box-shadow: none !important;
}

/* Remove hover shadow effects */
#projects .card.h-auto:hover {
    box-shadow: none !important;
}

/* Ensure consistent spacing */
#projects .card.h-auto .card-body {
    padding: 1.5rem;
}

/* Make buttons more compact */
#projects .btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

/* Fix background color coverage for full page */
html, body {
    min-height: 100vh;
    background-color: var(--background-color) !important;
}

#content {
    min-height: 100vh;
    background-color: var(--background-color) !important;
}

/* Ensure list page background extends properly */
#list-page {
    background-color: var(--background-color) !important;
}

/* Make links in post body stand out from the text.
   The theme colors them with --primary-color, which is white in dark mode. */
:root {
    --link-color: #0d6efd;
}
.dark {
    --link-color: #58a6ff;
}
#single article.page-content a {
    color: var(--link-color) !important;
}
#single article.page-content a::after {
    background-color: var(--link-color);
}

/* Hero title is an h1 (was h2 in the theme); mirror the theme's #hero h2 rule */
#hero h1 {
    font-size: clamp(40px, 8vw, 80px);
    color: var(--primary-color) !important;
}
