/* Contenu des guides / articles blog ImmoSignal */
.guide-prose {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.8;
}

.guide-prose h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.guide-prose .guide-lead {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.guide-prose h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 2rem 0 1rem;
    padding-top: 1rem;
}

.guide-prose h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1.5rem 0 0.75rem;
}

.guide-prose p { margin-bottom: 1rem; }

.guide-prose ul, .guide-prose ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.guide-prose li { margin-bottom: 0.35rem; }

.guide-prose a { color: #2563EB; }

.guide-prose .guide-summary {
    background: #eef2ff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #4338ca;
}

.guide-prose .guide-toc {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.guide-prose .guide-toc-title {
    font-weight: 700;
    margin: 0 0 8px;
    font-size: 0.85rem;
}

.guide-prose .guide-toc ol {
    margin: 0;
    font-size: 0.85rem;
    line-height: 2;
}

.guide-prose .guide-note {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
}

.guide-prose .guide-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.85rem;
}

.guide-prose .guide-table th,
.guide-prose .guide-table td {
    border: 1px solid #e2e8f0;
    padding: 0.6rem 0.75rem;
    text-align: left;
}

.guide-prose .guide-table th {
    background: #f8fafc;
    font-weight: 700;
}

.guide-prose .guide-cta {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.guide-prose .guide-cta p {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.guide-prose .guide-cta a {
    display: inline-block;
    background: white;
    color: #2563EB;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}

.guide-index-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.guide-index-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.guide-index-section {
    padding-top: 2.5rem;
}

.guide-index-section--last {
    padding-bottom: 4rem;
}

.guide-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.guide-card-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.guide-card-body {
    padding: 1.35rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.65rem;
}

.guide-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.guide-card-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 11px;
    border-radius: 999px;
}

.guide-card-badge--actualite { background: #fef3c7; color: #92400e; }
.guide-card-badge--guide { background: #eef2ff; color: #4338ca; }

.guide-card h2 {
    font-size: 1.12rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
}

.guide-card p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.65;
}

.guide-section-title {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
}

.guide-hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
}

.guide-hero img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.guide-hero-credit {
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: right;
    margin-top: 0.5rem;
}

.guide-prose .guide-figure {
    margin: 1.5rem 0;
}

.guide-prose .guide-figure img {
    width: 100%;
    border-radius: 12px;
}

.guide-prose .guide-figure figcaption {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.35rem;
}

.guide-meta-bar {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem 1rem;
    font-size: 0.8rem;
    color: #94a3b8;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.guide-faq {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.guide-faq h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.guide-faq details {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
}

.guide-faq summary {
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    list-style: none;
}

.guide-related {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
}

.guide-related-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.guide-related-links a {
    color: #2563EB;
    font-size: 0.9rem;
    text-decoration: none;
}

.guide-related-links a:hover { text-decoration: underline; }
