@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

/* Override base styles to match nadh.in aesthetic */
body {
    font-family: "EB Garamond", "Helvetica Neue", "Segoe UI", sans-serif;
    font-size: 21px;
    line-height: 1.65em;
    background-color: #f6f6f6;
    color: #333;
}

a {
    color: #ff3300;
    text-decoration: none;
}
a:hover {
    color: #000;
    border-bottom: none;
}

::-moz-selection {
    background: #ff3300;
}
::selection {
    background: #ff3300;
}

blockquote {
    border-color: #ff3300;
}

.post .draft-label {
    color: #ff3300;
}

.post .tags a {
    border-color: #ff3300;
    color: #ff3300;
}

/* Site title */
.site-title a {
    font-family: "EB Garamond", serif;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #111 !important;
}
.site-title a:hover {
    border-bottom: none !important;
    color: #ff3300 !important;
}

/* Header */
.header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 16px;
    margin-bottom: 30px;
}

.header nav {
    border-top: none;
    padding-top: 8px;
}

.header nav li {
    margin: 0 24px 0 0;
}

.header nav li a {
    color: #555;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}
.header nav li a:hover {
    color: #ff3300;
    border-bottom: none;
}

/* Site description / subtitle */
.site-description p {
    color: #888;
    font-style: italic;
    font-size: 0.95rem;
}

/* Social icons */
.header nav.social a {
    color: #888;
}
.header nav.social a:hover {
    color: #ff3300;
}

/* Section headers */
.section .section-header,
.recent-posts .section-header {
    color: #aaa;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    margin-top: 36px;
}

/* Intro bio */
.intro.section {
    margin-bottom: 0;
}
.intro.section p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7em;
    margin-top: 8px;
}

/* Post previews on home page */
.recent-posts .posts .post {
    margin-bottom: 12px;
}

/* Compact post list: date + title inline like nadh.in */
.posts-list .post {
    margin-bottom: 6px;
}

.post-item {
    display: flex;
    align-items: baseline;
    gap: 18px;
    line-height: 1.6em;
}

.post-item time {
    color: #aaa;
    font-size: 0.88rem;
    white-space: nowrap;
    min-width: 90px;
}

.post-item a {
    color: #333;
}
.post-item a:hover {
    color: #ff3300;
}

/* Post title on single post page */
.post .title.small,
.post-header h1.title,
.post h1.title {
    font-family: "EB Garamond", serif;
    font-weight: 400;
    margin: 0;
    font-size: 1.05rem;
}

/* Full post page title */
.post-header h1.title {
    font-size: 2rem;
    margin-top: -4px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "EB Garamond", serif;
    font-weight: 500;
    color: #111;
}

/* Footer */
.footer {
    color: #aaa;
    border-top-color: #e0e0e0;
}
.footer a {
    color: #888;
}
.footer a:hover {
    color: #ff3300;
    border-bottom: none;
}

/* Tags */
.post .tags a:hover {
    background: #ff3300;
    color: #fff;
    border-bottom: none;
}

/* Wrapper width */
.wrapper {
    max-width: 680px;
    padding: 0 20px;
}

@media (max-width: 900px) {
    body {
        font-size: 18px;
    }
}

/* Figure captions */
figure figcaption p {
    margin: 0;
    font-size: 0.8em;
    line-height: 1.4em;
    color: #888;
    text-align: center;
}

/* X logo: inline SVG, not a feather icon. Carries width/height attrs like
   feather's output so it is sized by the same max-height rule as the others. */
.header nav.social .x-logo {
    fill: currentColor;
    stroke: none;
}
