/*
Theme Name: BM-blank
Author: Cascade AI
Author URI: https://example.com
Text Domain: bm-blank
Description: Thème minimaliste, blanc et sans fioritures pour un auto-éditeur classique.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, minimal, white, one-column
*/

:root {
    --font-body: "warbler-text", "Georgia", serif;
    --font-headings: "warbler-banner", "Georgia", serif;
    --color-background: #ffffff;
    --color-text: #111111;
    --color-muted: #666666;
    --color-accent: #111111;
    --max-width: 720px;
    --gutter: 1.5rem;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.site-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--gutter);
}

.site-header {
    text-align: center;
    padding: calc(var(--gutter) * 2) var(--gutter) var(--gutter);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-title {
    margin: 0;
    font-family: var(--font-headings);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
}

body.bm-blank-has-logo .site-title {
    display: none;
}
.site-logo {
    text-align: center;
}
.custom-logo-link img {
    max-height: 130px;
    width: auto;
    display: block;
    margin: 0 auto;
}
.home .entry-header{
    display: none;
}

.site-description {
    margin: 0.5rem 0 0;
    color: var(--color-muted);
    font-size: 1rem;
}

.site-nav {
    margin-top: 1.5rem;
}

.menu-toggle {
    display: none;
    align-items: center;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.menu-toggle__bars {
    width: 24px;
    height: 2px;
    background: currentColor;
    display: inline-block;
    position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
    content: '';
    width: 24px;
    height: 2px;
    background: currentColor;
    position: absolute;
    left: 0;
    transition: transform 0.2s ease;
}

.menu-toggle__bars::before {
    top: -6px;
}

.menu-toggle__bars::after {
    top: 6px;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.site-nav a {
    color: inherit;
    text-decoration: none;
}

.site-nav.is-open {
    display: block;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: inline-flex;
        gap: 0.6rem;
    }

    .site-nav {
        display: none;
        flex-direction: column;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav .menu-primary {
        flex-direction: column;
        gap: 0.9rem;
    }
}

.site-nav .menu-primary {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 1.25rem;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-nav .menu-primary li {
    margin: 0;
    padding: 0;
}

.site-nav .menu-primary a {
    color: inherit;
}

main {
    margin-top: calc(var(--gutter) * 2);
}

article {
    margin-bottom: calc(var(--gutter) * 2.5);
    padding-bottom: calc(var(--gutter) * 2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

article:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.entry-title {
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.entry-meta {
    color: var(--color-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.entry-content,
.entry-summary {
    font-size: 1rem;
}

.read-more {
    display: inline-block;
    margin-top: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: calc(var(--gutter) * 2);
    font-size: 0.95rem;
}

.site-footer {
    text-align: center;
    padding: calc(var(--gutter) * 2) var(--gutter);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--color-muted);
    font-size: 0.875rem;
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .site-wrapper {
        padding: var(--gutter);
    }

    .entry-title {
        font-size: 1.5rem;
    }
}
