/*
Theme Name: Kho Dev
Author: Benoit Voisin
Version: 1.0
*/

/* ==========================================================================
   Base Styles
   ========================================================================== */

body {
    background-color: #f9fafb;
    color: #1f2937;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 2.5rem;
}

h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    line-height: 2.25rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 2rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.75rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    line-height: 1.75;
}

li {
    margin-bottom: 0.5rem;
}

a {
    color: #2563eb;
    text-decoration: underline;
}

a:hover {
    color: #1e40af;
}

strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background-color: #0f172a;
    color: white;
}

.site-header a {
    color: white;
    text-decoration: none;
}

.site-header a:hover {
    color: #e5e7eb;
}

.header-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.site-navigation {
    font-size: 0.875rem;
}

.site-navigation a {
    margin-left: 1.5rem;
}

.site-navigation a:first-child {
    margin-left: 0;
}

.site-navigation a.active {
    font-weight: 700;
}

/* ==========================================================================
   Main Content
   ========================================================================== */

.main-content {
    max-width: 56rem;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: #0f172a;
    color: #d1d5db;
}

.footer-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    font-size: 0.875rem;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.content-article {
    max-width: none;
}

.page-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.post-list-item {
    margin-bottom: 2.5rem;
}

.post-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.post-excerpt {
    color: #4b5563;
}

/* ==========================================================================
   Responsive Typography for Large Screens
   ========================================================================== */

@media (min-width: 1024px) {
    .content-article-large h1 {
        font-size: 2.25rem;
    }

    .content-article-large h2 {
        font-size: 1.875rem;
    }

    .content-article-large p {
        font-size: 1.125rem;
    }
}