/* System font stack for crisp, native look */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1a1a1a;
    line-height: 1.8;
    background: #ffffff;
}

/* Hero sections - minimal padding */
.hero-body {
    padding: 1rem 1rem;
}

/* Title styling */
.title {
    color: #1a1a1a;
    font-weight: 700;
}

.subtitle {
    color: #4a4a4a;
}

figure.highlight {
    text-align: left;
}

/* Minimalist blog post list */
.post-list-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.post-list-item:last-child {
    border-bottom: none;
}

.post-title-link {
    font-weight: 600;
    font-size: 1.2rem;
    color: #1a1a1a;
    text-decoration: none;
}

.post-title-link:hover {
    text-decoration: underline;
}

.post-meta {
    color: #6a6a6a;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.post-category-tag {
    font-size: 0.85rem;
    font-weight: 400;
    background: none;
    border: 1px solid #d0d0d0;
    color: #4a4a4a;
}

.post-category-tag:hover {
    background: none;
    border-color: #1a1a1a;
    color: #1a1a1a;
}

/* Typography - generous spacing */
.content {
    line-height: 1.8;
}

.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
    font-weight: 700;
}

.content h1:first-child, .content h2:first-child, .content h3:first-child {
    margin-top: 0;
}

.content p {
    margin-bottom: 1rem;
}

.content blockquote {
    margin: 1rem 0;
    padding-left: 1.5rem;
    border-left: 3px solid #d0d0d0;
    color: #4a4a4a;
}

.content hr {
    margin: 1.5rem 0;
    border: none;
    border-top: 1px solid #d0d0d0;
}

/* Simplified navigation - no sticky, no shadows */
.navbar {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
}

.navbar-item {
    color: #4a4a4a;
}

.navbar-item:hover {
    background: none;
    color: #1a1a1a;
}

.navbar-item.is-active {
    background: none;
    color: #1a1a1a;
    font-weight: 600;
}

/* Post header */
.post-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.post-author {
    color: #6a6a6a;
    font-size: 0.95rem;
    font-style: italic;
}

.post-date {
    color: #6a6a6a;
    font-size: 0.95rem;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #6a6a6a;
}

.breadcrumb a:hover {
    color: #1a1a1a;
}

.breadcrumb li.is-active a {
    color: #1a1a1a;
    cursor: default;
}

.breadcrumb li + li::before {
    color: #b5b5b5;
}

/* Categories page */
.categories-container {
    max-width: 900px;
}

.category-section {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.category-section:last-child {
    border-bottom: none;
}

.category-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.category-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.category-title a:hover {
    text-decoration: underline;
}

.category-posts {
    padding-left: 0;
}

/* Minimal search results - no shadows */
.navbar-item:has(#search-input) {
    position: relative;
}

#results-container {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 320px;
    max-width: 400px;
    background: white;
    border: 1px solid #d0d0d0;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    z-index: 40;
}

#results-container:empty {
    display: none;
}

#results-container .dropdown-item {
    padding: 1rem 1.25rem;
    color: #1a1a1a;
    display: block;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

#results-container .dropdown-item:last-child {
    border-bottom: none;
}

#results-container .dropdown-item:hover {
    background-color: #fafafa;
}

/* Search input */
#search-input {
    border: 1px solid #d0d0d0;
}

#search-input:focus {
    border-color: #1a1a1a;
    box-shadow: none;
}

/* Scrollbar */
#results-container::-webkit-scrollbar {
    width: 8px;
}

#results-container::-webkit-scrollbar-track {
    background: #f5f5f5;
}

#results-container::-webkit-scrollbar-thumb {
    background: #d0d0d0;
}

#results-container::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
}

/* Link styling - simple underlines */
a {
    color: #1a1a1a;
    text-decoration: underline;
    text-decoration-color: #d0d0d0;
}

a:hover {
    text-decoration-color: #1a1a1a;
}

/* Section spacing */
.section {
    padding: 1.5rem 1rem;
}

/* Container improvements */
.container {
    max-width: 960px;
}

/* Tag styling - minimal */
.tag {
    border-radius: 0;
    background-color: transparent;
}

/* Remove rounded corners from inputs */
.input {
    border-radius: 0;
}

/* Minimal button styling */
.button {
    border-radius: 0;
    font-weight: 500;
}

/* Code blocks */
pre {
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 0;
}

code {
    background-color: #fafafa;
    color: #1a1a1a;
    padding: 0.2em 0.4em;
}