/* =========================================
   BLOG INDEX — Design Estheia
   Tokens : #B08D9C (accent), #2B2630 (dark),
            #FBFAFB (bg), #ECE7EA (border)
   ========================================= */

/* ── Reset marges thème ── */
.blog-hero,
.blog-cats-bar,
.blog-main { margin-top: 0 !important; }

/* ── HERO ──
   #F9F6F7 = résultat de color-mix(in srgb, #B08D9C 8%, #fff)
   On force la valeur hex directe pour éviter toute interprétation navigateur
   + background-color opaque pour ne pas laisser transparaître le fond parent
*/
.blog-hero {
    background-color: #F9F6F7 !important;
    background-image: linear-gradient(180deg, #F9F6F7 0%, #FBFAFB 100%) !important;
    padding: 52px 24px 44px;
}

.blog-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 13px;
    color: #8B8390;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.blog-breadcrumb a {
    color: #8B8390;
    text-decoration: none;
    transition: color .15s;
}

.blog-breadcrumb a:hover { color: #2B2630; }

.blog-hero-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.blog-hero-text { flex: 1; min-width: 0; }

.blog-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
    margin-bottom: 14px;
}

.blog-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: clamp(44px, 6vw, 68px);
    line-height: 1;
    letter-spacing: -.01em;
    color: #2B2630;
    margin: 0 0 12px;
}

.blog-hero-desc {
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 17px;
    color: #6b6470;
    margin: 0;
    max-width: 520px;
    line-height: 1.55;
}

/* ── Search ── */
.blog-hero-search-wrap {
    flex-shrink: 0;
}

.blog-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #ECE7EA;
    border-radius: 14px;
    padding: 6px 6px 6px 16px;
    box-shadow: 0 12px 30px -20px rgba(43, 38, 48, .4);
}

.blog-search-icon {
    flex-shrink: 0;
    color: #A89FAE;
    width: 20px !important;
    height: 20px !important;
    max-width: none !important;
    display: block !important;
}

.blog-search-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none;
    width: 220px;
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #2B2630;
    background: transparent;
    padding: 0;
    margin: 0;
}

.blog-search-input::placeholder { color: #A89FAE; }
.blog-search-input:focus { outline: none !important; box-shadow: none !important; border: none !important; }

.blog-search-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: color-mix(in srgb, #B08D9C 72%, #2B2630);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s;
}

.blog-search-btn:hover {
    background: color-mix(in srgb, #B08D9C 82%, #2B2630);
}

/* Force la taille du SVG à l'intérieur du bouton — neutralise tout reset thème */
.blog-search-btn svg {
    width: 20px !important;
    height: 20px !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important;
    flex-shrink: 0;
}

/* ── ONGLETS CATÉGORIES ── */
.blog-cats-bar {
    border-bottom: 1px solid #ECE7EA;
    background: #fff;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.blog-cats-bar::-webkit-scrollbar { display: none; }

.blog-cats-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 30px;
    white-space: nowrap;
}

.blog-cat-tab {
    display: inline-block;
    padding: 18px 2px;
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #8B8390;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
    white-space: nowrap;
}

.blog-cat-tab:hover { color: #2B2630; }

.blog-cat-tab.active {
    color: #2B2630;
    border-bottom-color: color-mix(in srgb, #B08D9C 72%, #2B2630);
}

/* ── MAIN ── */
.blog-main {
    background: #FBFAFB;
    padding: 0 24px 90px;
}

.blog-main-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 50px;
}

/* ── ÉTAT VIDE ── */
.blog-empty {
    text-align: center;
    padding: 80px 24px;
    max-width: 480px;
    margin: 0 auto;
}

.blog-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: color-mix(in srgb, #B08D9C 12%, #fff);
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.blog-empty h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: #2B2630;
    margin: 0 0 10px;
}

.blog-empty p {
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 15px;
    color: #8B8390;
    margin: 0 0 24px;
}

.blog-empty-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 999px;
    background: color-mix(in srgb, #B08D9C 72%, #2B2630);
    color: #fff;
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
}

.blog-empty-btn:hover {
    background: color-mix(in srgb, #B08D9C 82%, #2B2630);
}

/* ── ARTICLE VEDETTE ── */
.blog-featured-link {
    display: block;
    text-decoration: none;
    margin-bottom: 56px;
}

.blog-featured {
    background: #fff;
    border: 1px solid #ECE7EA;
    border-radius: 26px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    height: 460px;
    box-shadow: 0 30px 70px -44px rgba(43, 38, 48, .4);
    transition: border-color .2s, box-shadow .2s;
}

.blog-featured-link:hover .blog-featured {
    border-color: color-mix(in srgb, #B08D9C 40%, #fff);
    box-shadow: 0 36px 80px -44px rgba(43, 38, 48, .48);
}

.blog-featured-img-wrap {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.blog-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .4s ease;
}

.blog-featured-link:hover .blog-featured-img {
    transform: scale(1.03);
}

.blog-featured-placeholder {
    width: 100%;
    height: 100%;
    background: color-mix(in srgb, #B08D9C 10%, #FBFAFB);
    display: flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, #B08D9C 50%, #fff);
}

.blog-featured-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(43, 36, 48, .86);
    color: #fff;
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.blog-featured-body {
    padding: 44px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.blog-cat-tag {
    display: inline-block;
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
    margin-bottom: 14px;
}

.blog-featured-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.08;
    color: #2B2630;
    margin: 0 0 14px;
}

.blog-featured-excerpt {
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #6b6470;
    margin: 0 0 28px;
}

.blog-featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid #F2EEF0;
}

.blog-featured-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.blog-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: color-mix(in srgb, #B08D9C 18%, #fff);
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.blog-avatar-sm {
    width: 28px;
    height: 28px;
    font-size: 12px;
}

.blog-meta-author {
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #2B2630;
}

.blog-meta-sep {
    color: #C9C3CF;
    font-size: 12px;
}

.blog-meta-date,
.blog-meta-time {
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 13px;
    color: #8B8390;
}

.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
    white-space: nowrap;
}

/* ── SECTION LABEL ── */
.blog-section-header {
    margin-bottom: 26px;
}

.blog-section-label {
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #A89FAE;
}

/* ── GRILLE ARTICLES ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.blog-card {
    background: #fff;
    border: 1px solid #ECE7EA;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .2s, box-shadow .2s;
}

.blog-card:hover {
    border-color: color-mix(in srgb, #B08D9C 35%, #fff);
    box-shadow: 0 22px 46px -32px rgba(43, 38, 48, .42);
}

.blog-card-img-link {
    display: block;
    text-decoration: none;
}

.blog-card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.04);
}

.blog-card-placeholder {
    width: 100%;
    height: 200px;
    background: color-mix(in srgb, #B08D9C 8%, #FBFAFB);
    display: flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, #B08D9C 40%, #fff);
}

.blog-card-cat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
}

.blog-card-time-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(43, 36, 48, .78);
    color: #fff;
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 600;
}

.blog-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.15;
    color: #2B2630;
    margin: 0 0 10px;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color .15s;
}

.blog-card-title a:hover {
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
}

.blog-card-excerpt {
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #6b6470;
    margin: 0 0 18px;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #F2EEF0;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 7px;
}

.blog-card-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
    text-decoration: none;
    white-space: nowrap;
    transition: gap .15s;
}

.blog-card-read:hover { gap: 9px; }

/* ── PAGINATION ── */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.blog-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 999px;
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #6b6470;
    background: #fff;
    border: 1px solid #ECE7EA;
    text-decoration: none;
    transition: border-color .15s, color .15s, background .15s;
}

.blog-page-btn:hover {
    border-color: #B08D9C;
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
}

.blog-page-btn.active {
    background: color-mix(in srgb, #B08D9C 72%, #2B2630);
    border-color: color-mix(in srgb, #B08D9C 72%, #2B2630);
    color: #fff;
    cursor: default;
}

.blog-page-dots {
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 14px;
    color: #C9C3CF;
    padding: 0 4px;
}

/* ── NEWSLETTER ── */
.blog-newsletter {
    background: linear-gradient(135deg,
        color-mix(in srgb, #B08D9C 15%, #fff),
        color-mix(in srgb, #B08D9C 7%, #fff));
    border: 1px solid color-mix(in srgb, #B08D9C 22%, #fff);
    border-radius: 26px;
    padding: 52px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
}

.blog-newsletter-text { max-width: 520px; }

.blog-newsletter-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 34px;
    line-height: 1.08;
    color: #2B2630;
    margin: 0 0 10px;
}

.blog-newsletter-desc {
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 16px;
    color: #5a545f;
    margin: 0;
}

.blog-newsletter-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #ECE7EA;
    border-radius: 14px;
    padding: 6px 6px 6px 18px;
    flex-shrink: 0;
}

/* Neutralise les styles natifs navigateur sur TOUS les inputs du blog */
.blog-search-form input,
.blog-newsletter-form input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.blog-newsletter-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none;
    width: 210px;
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #2B2630;
    background: transparent;
    padding: 0;
    margin: 0;
}

.blog-newsletter-input::placeholder { color: #A89FAE; }
.blog-newsletter-input:focus { outline: none !important; box-shadow: none !important; border: none !important; }

.blog-newsletter-btn {
    padding: 12px 22px;
    border-radius: 11px;
    border: none;
    cursor: pointer;
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: color-mix(in srgb, #B08D9C 72%, #2B2630);
    transition: background .2s;
    white-space: nowrap;
}

.blog-newsletter-btn:hover {
    background: color-mix(in srgb, #B08D9C 82%, #2B2630);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }

    .blog-featured {
        grid-template-columns: 1fr;
        height: auto;
    }

    .blog-featured-img-wrap { height: 280px; }
    .blog-featured-body { padding: 32px 30px; overflow: visible; }
    .blog-featured-title { font-size: 30px; }
}

@media (max-width: 768px) {
    .blog-hero { padding: 36px 18px 32px; }

    .blog-hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .blog-hero-title { font-size: 40px; }
    .blog-hero-desc { font-size: 15px; }

    .blog-search-form { width: 100%; }
    .blog-search-input { width: 100%; min-width: 0; }
    .blog-hero-search-wrap { width: 100%; }

    .blog-cats-inner { padding: 0 18px; gap: 20px; }
    .blog-cat-tab { padding: 14px 2px; font-size: 14px; }

    .blog-main { padding: 0 18px 64px; }
    .blog-main-inner { padding-top: 32px; }

    .blog-featured {
        grid-template-columns: 1fr;
        height: auto;
        margin-bottom: 36px;
    }

    .blog-featured-img-wrap { height: 220px; }

    .blog-featured-body { padding: 24px 22px; overflow: visible; }
    .blog-featured-title { font-size: 26px; }
    .blog-featured-excerpt { font-size: 15px; margin-bottom: 20px; }
    .blog-featured-footer { flex-direction: column; align-items: flex-start; gap: 14px; }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 36px;
    }

    .blog-card-img-wrap { height: 180px; }

    .blog-newsletter {
        padding: 36px 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-newsletter-title { font-size: 26px; }
    .blog-newsletter-form { width: 100%; }
    .blog-newsletter-input { width: 100%; min-width: 0; }

    .blog-pagination { gap: 6px; }
    .blog-page-btn { padding: 8px 13px; font-size: 13px; }
}

@media (max-width: 480px) {
    .blog-hero-title { font-size: 34px; }
    .blog-featured-title { font-size: 22px; }
    .blog-newsletter-title { font-size: 22px; }
}

/* =========================================
   BLOG — ARTICLE CONTENT TYPOGRAPHY (Estheia)
   ========================================= */

.blog-article-content h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 1.2;
    color: #2B2630;
    margin: 40px 0 16px;
}

.blog-article-content h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.25;
    color: #2B2630;
    margin: 32px 0 12px;
}

.blog-article-content p {
    font: 400 18px/1.78 'Hanken Grotesk', system-ui, sans-serif;
    color: #3f3a46;
    margin: 0 0 24px;
}

.blog-article-content ul,
.blog-article-content ol {
    padding-left: 24px;
    margin: 0 0 24px;
    font: 400 17px/1.7 'Hanken Grotesk', system-ui, sans-serif;
    color: #3f3a46;
}

.blog-article-content li { margin-bottom: 8px; }

.blog-article-content a {
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-article-content strong { font-weight: 700; }

.blog-article-content blockquote {
    margin: 32px 0;
    padding: 0 0 0 22px;
    border-left: 3px solid #B08D9C;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 22px;
    line-height: 1.5;
    color: #4a4550;
}

/* =========================================
   SHOW — PREVIEW BANNER
   ========================================= */

.blog-preview-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.blog-preview-back {
    background: white;
    color: #d97706;
    padding: 5px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
}

/* =========================================
   SHOW — COVER IMAGE
   ========================================= */

.blog-show-cover {
    position: relative;
    width: 100%;
    height: 440px;
    overflow: hidden;
    line-height: 0;
}

.blog-show-cover-img {
    width: 100% !important;
    height: 100% !important;
    max-height: 440px !important;
    min-height: unset !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.blog-show-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(43,38,48,0) 55%, rgba(43,38,48,.28) 100%);
    pointer-events: none;
}

/* =========================================
   SHOW — ARTICLE CONTAINER
   ========================================= */

.blog-show-article {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 40px 30px;
    background: #FBFAFB;
}

/* =========================================
   SHOW — BREADCRUMB
   ========================================= */

.blog-show-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    font: 500 13px 'Hanken Grotesk', system-ui, sans-serif;
    color: #8B8390;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.blog-show-breadcrumb a {
    color: #8B8390;
    text-decoration: none;
    transition: color .15s;
}

.blog-show-breadcrumb a:hover { color: color-mix(in srgb, #B08D9C 72%, #2B2630); }
.blog-show-breadcrumb svg { flex-shrink: 0; }

/* =========================================
   SHOW — BADGE CATÉGORIE
   ========================================= */

.blog-show-cat-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: color-mix(in srgb, #B08D9C 13%, #fff);
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
    font: 600 11px 'Hanken Grotesk', system-ui, sans-serif;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* =========================================
   SHOW — TITRE
   ========================================= */

.blog-show-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.08;
    letter-spacing: -.01em;
    color: #2B2630;
    margin: 0 0 22px;
}

/* =========================================
   SHOW — LIGNE MÉTA
   ========================================= */

.blog-show-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 28px;
    border-bottom: 1px solid #ECE7EA;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.blog-show-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: color-mix(in srgb, #B08D9C 18%, #fff);
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
    display: flex;
    align-items: center;
    justify-content: center;
    font: 600 15px 'Hanken Grotesk', system-ui, sans-serif;
    flex-shrink: 0;
}

.blog-show-avatar-info { flex: 1; min-width: 0; }

.blog-show-author-name {
    display: block;
    font: 600 15px 'Hanken Grotesk', system-ui, sans-serif;
    color: #2B2630;
}

.blog-show-meta-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 500 13px 'Hanken Grotesk', system-ui, sans-serif;
    color: #8B8390;
    margin-top: 2px;
    flex-wrap: wrap;
}

.blog-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #C9C2CE;
    flex-shrink: 0;
    display: inline-block;
}

/* compatibilité ancien template */
.blog-meta-sep { color: #C9C2CE; }

.blog-show-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.blog-show-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #E6E0E4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B8390;
    text-decoration: none;
    transition: border-color .15s, color .15s;
}

.blog-show-action-btn:hover {
    border-color: #B08D9C;
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
}

.blog-show-action-btn svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
}

/* =========================================
   SHOW — CHAPÔ / EXTRAIT
   ========================================= */

.blog-show-excerpt {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    font-style: italic;
    font-size: 25px;
    line-height: 1.45;
    color: #4a4550;
    border-left: 3px solid #B08D9C;
    padding-left: 22px;
    margin: 0 0 36px;
}

/* =========================================
   SHOW — GALERIE (layout gallery)
   ========================================= */

.blog-show-gallery-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 30px;
    color: #2B2630;
    margin: 46px 0 20px;
}

.blog-show-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 12px;
}

.blog-show-gallery-item {
    border-radius: 16px;
    overflow: hidden;
}

.blog-show-gallery-item img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.blog-show-gallery-item:hover img { transform: scale(1.04); }

.blog-gallery-caption {
    font: 400 12px 'Hanken Grotesk', system-ui, sans-serif;
    color: #8B8390;
    padding: 8px 0;
    margin: 0;
    text-align: center;
    font-style: italic;
}

/* =========================================
   SHOW — TUTORIAL
   ========================================= */

.blog-tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 36px 0;
}

.blog-tutorial-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
}

.blog-step-number {
    width: 48px;
    height: 48px;
    background: color-mix(in srgb, #B08D9C 72%, #2B2630);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 20px 'Hanken Grotesk', system-ui, sans-serif;
    color: white;
    flex-shrink: 0;
}

.blog-step-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 22px;
    color: #2B2630;
    margin: 0 0 10px;
}

.blog-step-img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 12px;
    object-fit: cover;
    max-height: 280px;
    display: block;
}

.blog-step-content {
    font: 400 16px/1.7 'Hanken Grotesk', system-ui, sans-serif;
    color: #3f3a46;
    margin: 0;
}

.blog-step-divider {
    border: none;
    border-top: 1px solid #ECE7EA;
}

/* =========================================
   SHOW — PORTRAIT
   ========================================= */

.blog-portrait-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.blog-portrait-img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    display: block;
}

.blog-portrait-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 32px;
}

.blog-portrait-gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

/* =========================================
   SHOW — TAGS
   ========================================= */

.blog-show-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.blog-tag {
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #ECE7EA;
    font: 600 13px 'Hanken Grotesk', system-ui, sans-serif;
    color: #6b6470;
    text-decoration: none;
    transition: border-color .15s, color .15s, background .15s;
}

.blog-tag:hover {
    border-color: #B08D9C;
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
    background: color-mix(in srgb, #B08D9C 8%, #fff);
}

/* =========================================
   SHOW — CARTE AUTEUR
   ========================================= */

.blog-show-author-card {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 1px solid #ECE7EA;
    border-radius: 20px;
    padding: 26px 28px;
}

.blog-show-author-card-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: color-mix(in srgb, #B08D9C 18%, #fff);
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
    display: flex;
    align-items: center;
    justify-content: center;
    font: 600 20px 'Hanken Grotesk', system-ui, sans-serif;
    flex-shrink: 0;
}

.blog-show-author-card-label {
    display: block;
    font: 600 12px 'Hanken Grotesk', system-ui, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
}

.blog-show-author-card-name {
    display: block;
    font: 600 18px 'Hanken Grotesk', system-ui, sans-serif;
    color: #2B2630;
    margin: 3px 0 4px;
}

.blog-show-author-card-bio {
    display: block;
    font: 400 14px 'Hanken Grotesk', system-ui, sans-serif;
    color: #8B8390;
}

/* =========================================
   SHOW — À LIRE AUSSI
   ========================================= */

.blog-related {
    background: color-mix(in srgb, #B08D9C 6%, #fff);
    border-top: 1px solid #F0EBEE;
    padding: 0 40px;
}

.blog-related-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 70px 0 80px;
}

.blog-related-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 32px;
}

.blog-related-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 38px;
    line-height: 1;
    color: #2B2630;
    margin: 0;
}

.blog-related-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 600 14px 'Hanken Grotesk', system-ui, sans-serif;
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
    text-decoration: none;
    white-space: nowrap;
    transition: gap .15s;
}

.blog-related-all:hover { gap: 12px; }

.blog-related-all svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-related-card {
    background: #fff;
    border: 1px solid #ECE7EA;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
}

.blog-related-card:hover {
    border-color: color-mix(in srgb, #B08D9C 35%, #fff);
    box-shadow: 0 22px 46px -32px rgba(43,38,48,.42);
}

.blog-related-card-img-wrap {
    position: relative;
    height: 170px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-related-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.blog-related-card:hover .blog-related-card-img-wrap img { transform: scale(1.04); }

.blog-related-card-placeholder {
    width: 100%;
    height: 100%;
    background: color-mix(in srgb, #B08D9C 10%, #FBFAFB);
    display: flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, #B08D9C 50%, #fff);
}

.blog-related-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    font: 600 11px 'Hanken Grotesk', system-ui, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: color-mix(in srgb, #B08D9C 72%, #2B2630);
}

.blog-related-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-related-card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.18;
    color: #2B2630;
    margin: 0 0 10px;
}

.blog-related-card-excerpt {
    font: 400 14px/1.6 'Hanken Grotesk', system-ui, sans-serif;
    color: #6b6470;
    margin: 0 0 18px;
    flex: 1;
}

.blog-related-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font: 500 13px 'Hanken Grotesk', system-ui, sans-serif;
    color: #8B8390;
    padding-top: 16px;
    border-top: 1px solid #F2EEF0;
    flex-wrap: wrap;
}

/* =========================================
   SHOW — RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
    .blog-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .blog-show-cover { height: 280px; }
    .blog-show-cover-img { max-height: 280px !important; }
    .blog-show-article { padding: 32px 20px 24px; }
    .blog-show-title { font-size: 36px; }
    .blog-show-excerpt { font-size: 20px; }
    .blog-show-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .blog-show-gallery-item img { height: 130px; }
    .blog-portrait-split { grid-template-columns: 1fr; gap: 20px; }
    .blog-tutorial-step { gap: 16px; }
    .blog-related { padding: 0 20px; }
    .blog-related-inner { padding: 48px 0 56px; }
    .blog-related-title { font-size: 30px; }
    .blog-related-grid { grid-template-columns: 1fr; gap: 16px; }
    .blog-show-author-card { padding: 20px; gap: 14px; }
    .blog-show-author-card-avatar { width: 50px; height: 50px; font-size: 17px; }
}

@media (max-width: 480px) {
    .blog-show-cover { height: 220px; }
    .blog-show-cover-img { max-height: 220px !important; }
    .blog-show-title { font-size: 30px; }
    .blog-show-excerpt { font-size: 18px; }
    .blog-show-gallery-grid { grid-template-columns: 1fr; }
    .blog-show-meta { gap: 10px; }
    .blog-show-actions { margin-left: 0; width: 100%; justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
    .blog-related-card,
    .blog-show-gallery-item img,
    .blog-related-card-img-wrap img { transition: none; }
}
