/* Le Coin du New-Yorkais - Custom Styles */
:root {
    --noir-nyc: #1a1a1a;
    --gris-beton: #4a4a4a;
    --gris-clair: #f5f5f0;
    --brique: #8B4513;
    --jaune-taxi: #F7C948;
    --blanc-casse: #fafaf7;
    --accent: #c0392b;
}

* { box-sizing: border-box; }

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--noir-nyc);
    background: var(--blanc-casse);
    line-height: 1.8;
    font-size: 17px;
}

/* Header */
.site-header {
    background: var(--noir-nyc);
    color: #fff;
    padding: 0;
    border-bottom: 4px solid var(--jaune-taxi);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.2em 1.5em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.site-logo {
    font-size: 1.6em;
    font-weight: bold;
    letter-spacing: -0.5px;
    color: #fff;
    text-decoration: none;
}

.site-logo span { color: var(--jaune-taxi); }

nav.main-nav a {
    color: #ccc;
    text-decoration: none;
    margin-left: 1.8em;
    font-size: 0.92em;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

nav.main-nav a:hover,
nav.main-nav a.active { color: var(--jaune-taxi); }

/* Hero */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 2em 1.5em;
    max-width: 750px;
}

.hero-content h1 {
    font-size: 2.4em;
    margin: 0 0 0.4em;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.15em;
    opacity: 0.92;
}

/* Main content */
.content-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 2.5em 1.5em 3em;
}

.content-wrap h2 {
    font-size: 1.55em;
    color: var(--noir-nyc);
    margin: 2em 0 0.6em;
    padding-bottom: 0.3em;
    border-bottom: 2px solid var(--jaune-taxi);
}

.content-wrap h3 {
    font-size: 1.2em;
    color: var(--gris-beton);
    margin: 1.5em 0 0.5em;
}

.content-wrap p {
    margin: 0 0 1.2em;
    text-align: justify;
}

.content-wrap img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1.5em 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.content-wrap ul, .content-wrap ol {
    margin: 0 0 1.5em 1.2em;
}

.content-wrap li {
    margin-bottom: 0.5em;
}

/* Sommaire / Table of contents */
.sommaire {
    background: var(--gris-clair);
    border-left: 4px solid var(--jaune-taxi);
    padding: 1.2em 1.5em;
    margin: 1.5em 0 2em;
    border-radius: 0 4px 4px 0;
}

.sommaire strong {
    display: block;
    margin-bottom: 0.6em;
    font-size: 1.05em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sommaire ol {
    margin: 0;
    padding-left: 1.2em;
}

.sommaire li {
    margin-bottom: 0.35em;
}

.sommaire a {
    color: var(--gris-beton);
    text-decoration: none;
    border-bottom: 1px dotted #aaa;
    transition: color 0.2s;
}

.sommaire a:hover { color: var(--accent); }

/* Internal links / CTA boxes */
.cta-box {
    background: linear-gradient(135deg, var(--gris-clair), #eee);
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1.3em 1.5em;
    margin: 2em 0;
    text-align: center;
}

.cta-box a {
    color: var(--accent);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
}

.cta-box a:hover { color: var(--noir-nyc); }

/* Maillage grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5em;
    margin: 2em 0;
}

.article-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.14);
}

.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.article-card .card-body {
    padding: 1em 1.2em 1.2em;
}

.article-card h3 {
    font-size: 1.05em;
    margin: 0 0 0.4em;
    color: var(--noir-nyc);
}

.article-card p {
    font-size: 0.9em;
    color: var(--gris-beton);
    text-align: left;
    margin: 0 0 0.8em;
}

.article-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
}

/* Footer */
.site-footer {
    background: var(--noir-nyc);
    color: #999;
    padding: 2.5em 1.5em;
    text-align: center;
    margin-top: 3em;
    border-top: 4px solid var(--jaune-taxi);
}

.site-footer a {
    color: var(--jaune-taxi);
    text-decoration: none;
}

.site-footer a:hover { text-decoration: underline; }

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 1.2em;
}

.footer-links a {
    margin: 0 1em;
    font-size: 0.92em;
}

.footer-copy {
    font-size: 0.82em;
    margin-top: 1em;
    color: #666;
}

/* Blockquote style */
blockquote {
    border-left: 4px solid var(--jaune-taxi);
    margin: 1.5em 0;
    padding: 1em 1.5em;
    background: var(--gris-clair);
    font-style: italic;
    color: var(--gris-beton);
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
    nav.main-nav { margin-top: 0.8em; }
    nav.main-nav a { margin: 0 0.7em; font-size: 0.84em; }
    .hero-content h1 { font-size: 1.7em; }
    .hero { min-height: 300px; }
    .content-wrap { padding: 1.5em 1em 2em; }
    .articles-grid { grid-template-columns: 1fr; }
}
