/* ========================================
   BLOG / FAQ ARTICLES — layout partagé
   Réutilise le langage visuel NeoStreamShop
   (Poppins, violet #2C123B, cartes produit).
   ======================================== */

.blog_page {
    --blog-ink: #2c123b;
    --blog-ink-soft: #48265c;
    --blog-muted: #666a81;
    --blog-line: rgba(44, 18, 59, 0.08);
    --blog-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --blog-pink: #ff31d2;

    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 28px 0 48px;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--blog-ink);
}

/* ---------- Hub ---------- */

.blog_hub_hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    max-width: 720px;
}

.blog_eyebrow {
    display: inline-block;
    margin: 0;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(255, 49, 210, 0.08);
    color: var(--blog-pink);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog_hub_title,
.blog_article_title {
    margin: 0;
    font-weight: 800;
    font-size: clamp(2.05rem, 4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--blog-ink);
}

.blog_hub_lede,
.blog_article_lede {
    margin: 0;
    max-width: 40rem;
    font-weight: 400;
    font-size: clamp(1.05rem, 1.7vw, 1.2rem);
    line-height: 1.55;
    color: var(--blog-muted);
}

.blog_hub_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog_hub_card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 18px;
    border: 1px solid rgba(44, 18, 59, 0.1);
    background: #fff;
    box-shadow: 0 12px 36px rgba(44, 18, 59, 0.08);
    overflow: hidden;
    transition: transform 0.35s var(--blog-ease), box-shadow 0.4s ease, border-color 0.4s ease;
}

.blog_hub_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(44, 18, 59, 0.12);
    border-color: rgba(255, 49, 210, 0.15);
}

.blog_hub_card_media {
    aspect-ratio: 16 / 10;
    background: #fafafa;
    overflow: hidden;
    line-height: 0;
}

.blog_hub_card_media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog_hub_card_body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px 22px;
    border-top: 1px solid rgba(44, 18, 59, 0.06);
    background: #fafafa;
}

.blog_hub_card_meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog_hub_card_tag {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--blog-pink);
}

.blog_hub_card_date {
    margin: 0;
    font-size: 0.78rem;
    color: var(--blog-muted);
}

.blog_hub_card_title {
    margin: 0;
    font-weight: 700;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--blog-ink);
}

.blog_hub_card_excerpt {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--blog-muted);
}

.blog_hub_card_cta {
    margin-top: 4px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--blog-ink-soft);
}

/* ---------- Article shell ---------- */

.blog_article {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
    max-width: 920px;
}

.blog_article_header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 760px;
}

.blog_article_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    font-size: 0.82rem;
    color: var(--blog-muted);
}

.blog_article_meta time {
    font-variant-numeric: tabular-nums;
}

.blog_breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.82rem;
    color: var(--blog-muted);
}

.blog_breadcrumb a {
    color: var(--blog-ink-soft);
    text-decoration: none;
}

.blog_breadcrumb a:hover {
    color: var(--blog-pink);
}

.blog_breadcrumb_sep {
    opacity: 0.45;
}

.blog_hero_media {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(44, 18, 59, 0.1);
    border: 1px solid rgba(44, 18, 59, 0.08);
    background: #fff;
    line-height: 0;
}

.blog_hero_media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.blog_article_body {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.blog_section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.blog_section_title {
    margin: 0;
    font-weight: 700;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--blog-ink);
}

.blog_section_intro {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--blog-muted);
}

.blog_prose {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #3a2a45;
    font-weight: 400;
}

.blog_bullet_list {
    margin: 0;
    padding-left: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 1rem;
    line-height: 1.6;
    color: #3a2a45;
}

.blog_bullet_list li::marker {
    color: var(--blog-pink);
}

/* ---------- Figures ---------- */

.blog_figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog_figure_frame {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(44, 18, 59, 0.08);
    box-shadow: 0 10px 28px rgba(44, 18, 59, 0.08);
    background: #fff;
    line-height: 0;
}

.blog_figure_frame img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blog_figure_caption {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--blog-muted);
}

/* ---------- Product grid / picks ---------- */

.blog_products_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.blog_products_grid .blog_product_card,
.blog_pick_card .blog_product_card {
    height: 100%;
}

/* Neutralise les largeurs carousel quand les cartes sont en grille blog */
.blog_products_grid > .shop-product-card.carousel-item,
.blog_pick_card > .shop-product-card.carousel-item {
    flex: none;
    max-width: none;
    width: 100%;
}

.blog_picks_list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.blog_pick {
    display: grid;
    grid-template-columns: 1fr minmax(160px, 220px);
    gap: 20px;
    align-items: start;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(44, 18, 59, 0.08);
    background: linear-gradient(135deg, rgba(44, 18, 59, 0.02) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.blog_pick_header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.blog_pick_rank {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 49, 210, 0.1);
    color: var(--blog-pink);
    font-weight: 800;
    font-size: 0.95rem;
}

.blog_pick_copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.blog_pick_title {
    margin: 0;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--blog-ink);
}

.blog_pick_why {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--blog-muted);
}

.blog_pick_card {
    min-width: 0;
}

/* ---------- FAQ ---------- */

.blog_faq_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog_faq_item {
    border: 1px solid rgba(44, 18, 59, 0.1);
    border-radius: 12px;
    background: #fff;
    padding: 0;
    overflow: hidden;
}

.blog_faq_q {
    cursor: pointer;
    list-style: none;
    padding: 16px 18px;
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.4;
    color: var(--blog-ink);
}

.blog_faq_q::-webkit-details-marker {
    display: none;
}

.blog_faq_q::after {
    content: '+';
    float: right;
    color: var(--blog-pink);
    font-weight: 700;
}

.blog_faq_item[open] .blog_faq_q::after {
    content: '−';
}

.blog_faq_a {
    padding: 0 18px 16px;
}

.blog_faq_a p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #3a2a45;
}

/* ---------- CTA ---------- */

.blog_cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 28px 26px;
    border-radius: 18px;
    border: 1px solid rgba(44, 18, 59, 0.1);
    background: linear-gradient(135deg, rgba(255, 49, 210, 0.06) 0%, rgba(99, 234, 252, 0.08) 100%);
}

.blog_cta_title {
    margin: 0;
    font-weight: 800;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    letter-spacing: -0.02em;
    color: var(--blog-ink);
}

.blog_cta_body {
    margin: 0;
    max-width: 36rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--blog-muted);
}

.blog_cta_button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--blog-ink);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.25s var(--blog-ease), background 0.25s ease;
}

.blog_cta_button:hover {
    transform: translateY(-1px);
    background: var(--blog-ink-soft);
}

/* ---------- Related ---------- */

.blog_related {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
    border-top: 1px solid var(--blog-line);
}

.blog_related_title {
    margin: 0;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--blog-ink-soft);
}

.blog_related_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog_related_card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    border: 1px solid rgba(44, 18, 59, 0.08);
    background: #fafafa;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog_related_card:hover {
    border-color: rgba(255, 49, 210, 0.2);
    box-shadow: 0 8px 24px rgba(44, 18, 59, 0.08);
}

.blog_related_card_tag {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--blog-pink);
}

.blog_related_card_title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--blog-ink);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .blog_products_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog_pick {
        grid-template-columns: 1fr;
    }

    .blog_pick_card {
        max-width: 260px;
    }

    .blog_related_grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .blog_page {
        gap: 28px;
        padding: 18px 0 36px;
    }

    .blog_hub_grid {
        grid-template-columns: 1fr;
    }

    .blog_products_grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
}
