/* Minimal theme — DM Serif / DM Sans editorial layout */

body.theme-minimal {
    font-family: 'DM Sans', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    margin: 0;
    overflow-x: hidden;
    max-width: 100%;
}

body.theme-minimal a {
    text-decoration: none;
    color: inherit;
}

body.theme-minimal .navbar {
    background: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

body.theme-minimal .nav-inner {
    max-width: 960px;
    margin: auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 1rem;
}

body.theme-minimal .mn-menu-toggle {
    display: none;
    background: none;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 0.35rem 0.6rem;
    cursor: pointer;
    color: #1a1a1a;
    font-size: 1.125rem;
    line-height: 1;
    flex-shrink: 0;
}

body.theme-minimal .nav-brand {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

body.theme-minimal .nav-links {
    display: flex;
    gap: 32px;
}

body.theme-minimal .nav-links a {
    color: #888;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}

body.theme-minimal .nav-links a:hover,
body.theme-minimal .nav-links a.active {
    color: #1a1a1a;
}

body.theme-minimal .hero {
    max-width: 960px;
    margin: 64px auto 0;
    padding: 0 24px;
}

body.theme-minimal .hero-inner {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 48px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: center;
}

body.theme-minimal .hero-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 16px;
}

body.theme-minimal .hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: 42px;
    line-height: 1.15;
    color: #1a1a1a;
    margin-bottom: 20px;
}

body.theme-minimal .hero-excerpt {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 28px;
    font-weight: 300;
}

body.theme-minimal .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}

body.theme-minimal .hero-btn:hover {
    background: #333;
    color: white;
}

body.theme-minimal .hero-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

body.theme-minimal .hero-img-placeholder {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 36px;
}

body.theme-minimal .section {
    max-width: 960px;
    margin: 56px auto;
    padding: 0 24px;
}

body.theme-minimal .section-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

body.theme-minimal .blog-list {
    display: flex;
    flex-direction: column;
}

body.theme-minimal .blog-item {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 32px;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid #f0f0f0;
}

body.theme-minimal .blog-item:last-child {
    border-bottom: none;
}

body.theme-minimal .blog-item-date {
    font-size: 12px;
    color: #aaa;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.theme-minimal .blog-item-category {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    margin-bottom: 6px;
}

body.theme-minimal .blog-item-title {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 10px;
    transition: 0.2s;
}

body.theme-minimal .blog-item-title:hover {
    color: #555;
}

body.theme-minimal .blog-item-excerpt {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    font-weight: 300;
}

body.theme-minimal .blog-item-img {
    width: 200px;
    height: 130px;
    object-fit: cover;
    border-radius: 6px;
}

body.theme-minimal .blog-item-img-placeholder {
    width: 200px;
    height: 130px;
    border-radius: 6px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    font-size: 24px;
}

body.theme-minimal .site-footer {
    margin-top: 60px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

body.theme-minimal .site-footer-inner {
    max-width: 960px;
    margin: auto;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

body.theme-minimal .site-footer-copy {
    font-size: 13px;
    color: #bbb;
}

body.theme-minimal .site-footer-links {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
}

body.theme-minimal .footer-page-link {
    color: #aaa;
    font-size: 13px;
    padding: 4px 10px;
    text-decoration: none;
    transition: color 0.2s;
}

body.theme-minimal .footer-page-link:hover {
    color: #1a1a1a;
}

body.theme-minimal .footer-sep {
    color: #ddd;
    font-size: 12px;
}

body.theme-minimal .cat-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 960px;
    margin: 32px auto 0;
    padding: 0 24px;
}

body.theme-minimal .cat-chip {
    font-size: 12px;
    font-weight: 500;
    color: #888;
    padding: 5px 14px;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: 0.2s;
}

body.theme-minimal .cat-chip.is-hidden {
    display: none;
}

body.theme-minimal .cat-chip-more {
    cursor: pointer;
    background: #f7f7f7;
    color: #555;
    border-color: #ddd;
    font-family: inherit;
}

body.theme-minimal .cat-chip-more:hover {
    color: #1a1a1a;
    border-color: #aaa;
    background: #f0f0f0;
}

body.theme-minimal .cat-chip:hover {
    color: #1a1a1a;
    border-color: #aaa;
}

body.theme-minimal .cat-header {
    max-width: 960px;
    margin: 56px auto 0;
    padding: 0 24px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 40px;
}

body.theme-minimal .cat-back {
    font-size: 13px;
    font-weight: 500;
    color: #aaa;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    transition: 0.2s;
}

body.theme-minimal .cat-back:hover {
    color: #1a1a1a;
}

body.theme-minimal .cat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aaa;
    margin-bottom: 12px;
}

body.theme-minimal .cat-title {
    font-family: 'DM Serif Display', serif;
    font-size: 44px;
    line-height: 1.1;
    color: #1a1a1a;
}

body.theme-minimal .post-wrap {
    max-width: 680px;
    margin: 64px auto;
    padding: 0 24px;
}

body.theme-minimal .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 40px;
    transition: 0.2s;
}

body.theme-minimal .back-link:hover {
    color: #1a1a1a;
}

body.theme-minimal .post-date {
    font-size: 12px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

body.theme-minimal .post-title {
    font-family: 'DM Serif Display', serif;
    font-size: 40px;
    line-height: 1.15;
    color: #1a1a1a;
    margin-bottom: 24px;
}

body.theme-minimal .post-thumbnail {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 40px;
}

body.theme-minimal .post-content,
body.theme-minimal .page-content {
    font-size: 17px;
    line-height: 1.85;
    color: #333;
    font-weight: 300;
}

body.theme-minimal .post-content img,
body.theme-minimal .page-content img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    border-radius: 6px;
    margin: 24px auto;
    display: block;
}

body.theme-minimal .post-content h1,
body.theme-minimal .post-content h2,
body.theme-minimal .post-content h3,
body.theme-minimal .page-content h1,
body.theme-minimal .page-content h2,
body.theme-minimal .page-content h3 {
    font-family: 'DM Serif Display', serif;
    color: #1a1a1a;
    margin: 32px 0 16px;
}

body.theme-minimal .post-content p,
body.theme-minimal .page-content p {
    margin-bottom: 20px;
}

body.theme-minimal .post-content a {
    color: #1a1a1a;
    border-bottom: 1px solid #ddd;
}

body.theme-minimal .page-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 64px 24px 100px;
}

body.theme-minimal .page-header {
    padding-bottom: 32px;
    margin-bottom: 40px;
    border-bottom: 1px solid #f0f0f0;
}

body.theme-minimal .page-eyebrow {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aaa;
    margin-bottom: 16px;
}

body.theme-minimal .page-title {
    font-family: 'DM Serif Display', serif;
    font-size: 40px;
    line-height: 1.15;
    color: #1a1a1a;
}

body.theme-minimal .page-content {
    color: #555;
}

body.theme-minimal .page-content a {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.theme-minimal .page-content blockquote {
    border-left: 2px solid #1a1a1a;
    padding: 16px 24px;
    margin: 28px 0;
    color: #888;
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    line-height: 1.5;
}

body.theme-minimal .page-content ul,
body.theme-minimal .page-content ol {
    padding-left: 24px;
    margin-bottom: 22px;
}

body.theme-minimal .page-content li {
    margin-bottom: 8px;
}

body.theme-minimal .page-content strong {
    color: #1a1a1a;
    font-weight: 600;
}

body.theme-minimal .load-more-wrap {
    text-align: center;
    margin-top: 40px;
}

body.theme-minimal .load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

body.theme-minimal .load-more-btn:hover {
    background: #333;
}

@media (max-width: 768px) {
    body.theme-minimal .hero-inner {
        grid-template-columns: 1fr;
    }

    body.theme-minimal .hero-title {
        font-size: 30px;
    }

    body.theme-minimal .blog-item {
        grid-template-columns: 1fr;
    }

    body.theme-minimal .blog-item-img,
    body.theme-minimal .blog-item-img-placeholder {
        width: 100%;
        height: 180px;
    }

    body.theme-minimal .mn-menu-toggle {
        display: block;
    }

    body.theme-minimal .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid #f0f0f0;
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 24px 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
        z-index: 101;
        gap: 0;
    }

    body.theme-minimal .nav-links.is-open {
        display: flex;
    }

    body.theme-minimal .nav-links a {
        padding: 0.75rem 0;
        border-bottom: 1px solid #f0f0f0;
    }

    body.theme-minimal .nav-links a:last-child {
        border-bottom: none;
    }

    body.theme-minimal .site-footer-inner {
        flex-direction: column;
    }

    body.theme-minimal .cat-title {
        font-size: 30px;
    }

    body.theme-minimal .post-title {
        font-size: 28px;
    }

    body.theme-minimal .post-thumbnail {
        height: 240px;
    }

    body.theme-minimal .page-title {
        font-size: 30px;
    }

    body.theme-minimal .section,
    body.theme-minimal .hero,
    body.theme-minimal .cat-bar,
    body.theme-minimal .cat-header {
        padding-left: 16px;
        padding-right: 16px;
    }

    body.theme-minimal .nav-inner {
        padding: 0 16px;
    }
}
