/* OpensPlace — Blog & guides destinations 2026
 * À utiliser sur toutes les pages éditoriales (Blog index, guides pays, articles).
 * Charge home.css en amont pour les tokens .home-2026.
 */

.home-2026.bl-page { background: var(--hp-bg); }

/* ── Hero éditorial pleine largeur ────────────────────────────────── */
.bl-hero {
    position: relative;
    min-height: clamp(380px, 52vh, 560px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    background: var(--hp-ink);
    margin-bottom: clamp(32px, 24px + 2vw, 56px);
}
.bl-hero__media { position: absolute; inset: 0; z-index: -1; }
.bl-hero__media img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.bl-hero__veil {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.85) 100%);
}
.bl-hero__inner {
    position: relative;
    color: #F5F2EC;
    padding-block: clamp(40px, 32px + 3vw, 80px);
    max-width: 880px;
}
.bl-hero__crumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(245, 242, 236, 0.75);
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}
.bl-hero__crumb a { color: inherit; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 1px; }
.bl-hero__crumb a:hover { color: #fff; border-color: #fff; }
.bl-hero__crumb span[aria-hidden] { opacity: .5; }
.bl-hero__eyebrow {
    color: var(--hp-brand-soft);
    margin-bottom: 14px;
    letter-spacing: 0.16em;
}
.bl-hero__title {
    color: var(--hp-white);
    font-family: var(--hp-serif);
    font-size: clamp(36px, 26px + 2.6vw, 60px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.06;
    margin: 0 0 14px;
    text-wrap: balance;
}
.bl-hero__title em {
    color: var(--hp-brand);
    font-style: italic;
    font-weight: 500;
}
.bl-hero__subtitle {
    color: #E8E5DF;
    font-size: clamp(17px, 15px + 0.4vw, 19px);
    line-height: 1.6;
    max-width: 60ch;
    margin: 0;
}
.bl-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 22px;
    font-size: 13px;
    color: rgba(245, 242, 236, 0.7);
}
.bl-hero__meta span {
    display: inline-flex; align-items: center; gap: 6px;
}
.bl-hero__meta svg { color: var(--hp-brand-soft); }

/* ── Layout général article ───────────────────────────────────────── */
.bl-article {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(28px, 20px + 2vw, 56px);
    padding-bottom: clamp(60px, 40px + 4vw, 100px);
}
@media (min-width: 1024px) {
    .bl-article { grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; }
}
.bl-prose { max-width: 720px; }
.bl-prose > * + * { margin-top: 1.2em; }

.bl-prose h2 {
    font-family: var(--hp-serif);
    font-size: clamp(26px, 22px + 1vw, 34px);
    font-weight: 500;
    color: var(--hp-ink);
    letter-spacing: -0.015em;
    line-height: 1.15;
    margin-top: 2em;
    text-wrap: balance;
}
.bl-prose h3 {
    font-family: var(--hp-serif);
    font-size: clamp(20px, 17px + 0.6vw, 24px);
    font-weight: 500;
    color: var(--hp-ink);
    margin-top: 1.6em;
}
.bl-prose p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--hp-ink-soft);
}
.bl-prose p.lead {
    font-size: 19px;
    color: var(--hp-ink);
    line-height: 1.7;
}
.bl-prose strong { color: var(--hp-ink); font-weight: 600; }
.bl-prose em { font-style: italic; color: var(--hp-ink); }
.bl-prose a {
    color: var(--hp-brand-deep);
    border-bottom: 1px solid rgba(216, 90, 48, 0.25);
    transition: color .18s ease, border-color .18s ease;
}
.bl-prose a:hover { color: var(--hp-brand); border-color: var(--hp-brand); }
.bl-prose ul, .bl-prose ol {
    padding-left: 22px;
    color: var(--hp-ink-soft);
    font-size: 17px;
    line-height: 1.75;
}
.bl-prose ul li::marker { color: var(--hp-brand); }
.bl-prose ol li::marker { color: var(--hp-ink); font-weight: 600; }
.bl-prose blockquote {
    margin: 1.4em 0;
    padding: 18px 22px;
    background: var(--hp-bg-alt);
    border-left: 3px solid var(--hp-brand);
    border-radius: 0 12px 12px 0;
    color: var(--hp-ink-soft);
    font-size: 18px;
    line-height: 1.65;
    font-style: italic;
}
.bl-prose blockquote cite {
    display: block;
    margin-top: 8px;
    font-style: normal;
    font-size: 13px;
    color: var(--hp-ink-muted);
}
.bl-prose figure {
    margin: 1.8em 0;
}
.bl-prose figure img {
    width: 100%;
    border-radius: var(--hp-radius-card);
    border: 0.5px solid var(--hp-line);
}
.bl-prose figure figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: var(--hp-ink-muted);
    text-align: center;
}
.bl-prose hr {
    border: 0;
    border-top: 0.5px solid var(--hp-line);
    margin: 2.4em 0;
}

/* Encadrés "à savoir" */
.bl-callout {
    background: var(--hp-bg-alt);
    border: 0.5px solid var(--hp-line);
    border-radius: var(--hp-radius-card);
    padding: 22px 24px;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 14px;
    align-items: start;
    margin: 1.6em 0;
}
.bl-callout__icon {
    width: 28px; height: 28px;
    border-radius: 999px;
    background: var(--hp-brand-soft);
    color: var(--hp-brand-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--hp-serif);
    font-weight: 500;
    font-size: 15px;
    flex: 0 0 auto;
}
.bl-callout strong { color: var(--hp-ink); display: block; margin-bottom: 4px; }
.bl-callout p { font-size: 15px; line-height: 1.65; margin: 0; }

/* Stats inline */
.bl-stats {
    list-style: none;
    margin: 1.8em 0;
    padding: 22px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 22px;
    border-block: 0.5px solid var(--hp-line);
}
.bl-stats li { display: flex; flex-direction: column; gap: 4px; }
.bl-stats strong {
    font-family: var(--hp-serif);
    font-size: clamp(22px, 18px + 0.8vw, 28px);
    font-weight: 500;
    color: var(--hp-ink);
}
.bl-stats span { font-size: 13px; color: var(--hp-ink-muted); }

/* Cartes régions / villes */
.bl-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 1.6em 0;
}
@media (min-width: 600px) { .bl-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .bl-cards--3 { grid-template-columns: 1fr 1fr 1fr; } }

.bl-card {
    display: block;
    background: var(--hp-white);
    border: 0.5px solid var(--hp-line);
    border-radius: var(--hp-radius-card);
    overflow: hidden;
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease;
}
.bl-card:hover { border-color: var(--hp-brand); transform: translateY(-2px); }
.bl-card__img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--hp-bg-alt);
}
.bl-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.bl-card:hover .bl-card__img img { transform: scale(1.04); }
.bl-card__body { padding: 18px 20px 20px; }
.bl-card__name {
    font-family: var(--hp-serif);
    font-weight: 500;
    font-size: 19px;
    color: var(--hp-ink);
    margin: 0 0 4px;
}
.bl-card__desc {
    font-size: 14px;
    color: var(--hp-ink-muted);
    line-height: 1.55;
    margin: 0;
}
.bl-card__tag {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    color: var(--hp-brand-deep);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Calendrier "quand partir" */
.bl-cal {
    list-style: none;
    margin: 1.6em 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 6px;
    text-align: center;
}
.bl-cal li {
    border: 0.5px solid var(--hp-line);
    border-radius: 10px;
    padding: 12px 6px;
    background: var(--hp-white);
    font-size: 13px;
}
.bl-cal li strong {
    display: block;
    font-family: var(--hp-serif);
    font-weight: 500;
    font-size: 15px;
    color: var(--hp-ink);
    margin-bottom: 4px;
}
.bl-cal li span { font-size: 11px; color: var(--hp-ink-muted); }
.bl-cal li.is-best  { background: var(--hp-brand-soft); border-color: rgba(216,90,48,.25); }
.bl-cal li.is-good  { background: #F2EAD8; border-color: #E8DDC2; }
.bl-cal li.is-meh   { background: var(--hp-bg-alt); }

/* FAQ accordéons */
.bl-faq {
    border-top: 0.5px solid var(--hp-line);
    margin-top: 2em;
    padding-top: 1em;
}
.bl-faq details {
    border-bottom: 0.5px solid var(--hp-line);
    padding: 18px 4px;
}
.bl-faq details[open] { background: var(--hp-bg-alt); }
.bl-faq summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--hp-sans);
    font-weight: 500;
    font-size: 16px;
    color: var(--hp-ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 0 12px;
}
.bl-faq summary::after {
    content: "+";
    font-size: 22px;
    color: var(--hp-brand);
    transition: transform .18s ease;
    flex: 0 0 auto;
}
.bl-faq details[open] summary::after { transform: rotate(45deg); }
.bl-faq summary::-webkit-details-marker { display: none; }
.bl-faq details > p {
    margin: 12px 12px 4px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--hp-ink-soft);
}

/* Sidebar TOC + CTA */
.bl-aside { position: relative; }
@media (min-width: 1024px) {
    .bl-aside { position: sticky; top: 96px; align-self: start; }
}
.bl-toc {
    background: var(--hp-bg-alt);
    border: 0.5px solid var(--hp-line);
    border-radius: var(--hp-radius-card);
    padding: 20px 22px;
    margin-bottom: 18px;
}
.bl-toc h4 {
    font-family: var(--hp-sans);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--hp-ink-muted);
    margin: 0 0 12px;
    font-weight: 500;
}
.bl-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.bl-toc li {
    counter-increment: toc;
    padding: 6px 0;
    font-size: 14px;
}
.bl-toc li::before {
    content: counter(toc, decimal-leading-zero);
    color: var(--hp-brand);
    font-family: var(--hp-serif);
    margin-right: 8px;
}
.bl-toc a { color: var(--hp-ink-soft); }
.bl-toc a:hover { color: var(--hp-brand); }

.bl-cta {
    background: var(--hp-ink);
    color: #E8E5DF;
    border-radius: var(--hp-radius-card);
    padding: 24px;
    text-align: center;
}
.bl-cta strong {
    display: block;
    font-family: var(--hp-serif);
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.bl-cta p { font-size: 14px; line-height: 1.6; margin: 0 0 16px; color: rgba(232, 229, 223, 0.78); }

/* ────────────────────────────────────────────────────────────────────
 * BLOG INDEX (liste)
 * ──────────────────────────────────────────────────────────────────── */
.bl-list-hero {
    background: linear-gradient(135deg,
        #FBE9E1 0%, #F4ECF4 35%, #E6F0F4 70%, #E8F2EB 100%);
    border-bottom: 0.5px solid var(--hp-line);
    padding-block: clamp(56px, 36px + 4vw, 96px);
}
.bl-list-hero__inner { max-width: 880px; }
.bl-list-hero__title {
    font-family: var(--hp-serif);
    font-size: clamp(36px, 26px + 2.6vw, 60px);
    font-weight: 500;
    color: var(--hp-ink);
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin: 0 0 14px;
    text-wrap: balance;
}
.bl-list-hero__title em { color: var(--hp-ink); font-style: italic; font-weight: 500; }
.bl-list-hero__subtitle {
    font-size: clamp(17px, 15px + 0.4vw, 19px);
    color: var(--hp-ink-soft);
    line-height: 1.7;
    max-width: 60ch;
    margin: 0;
}

.bl-list {
    padding-block: clamp(40px, 28px + 3vw, 72px);
}
.bl-list__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 600px) { .bl-list__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .bl-list__grid { grid-template-columns: repeat(3, 1fr); } }

.bl-list__card {
    display: block;
    text-decoration: none;
    background: var(--hp-white);
    border: 0.5px solid var(--hp-line);
    border-radius: var(--hp-radius-card);
    overflow: hidden;
    transition: border-color .18s ease, transform .18s ease;
}
.bl-list__card:hover { border-color: var(--hp-brand); transform: translateY(-3px); }
.bl-list__cover {
    aspect-ratio: 5 / 3;
    overflow: hidden;
    background: var(--hp-bg-alt);
}
.bl-list__cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.bl-list__card:hover .bl-list__cover img { transform: scale(1.06); }
.bl-list__body { padding: 22px 24px 24px; }
.bl-list__country {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--hp-brand);
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}
.bl-list__title {
    font-family: var(--hp-serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--hp-ink);
    margin: 0 0 8px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.bl-list__excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: var(--hp-ink-muted);
    margin: 0 0 14px;
}
.bl-list__more {
    font-size: 14px;
    font-weight: 500;
    color: var(--hp-ink);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--hp-line);
    padding-bottom: 2px;
    transition: color .18s ease, border-color .18s ease;
}
.bl-list__card:hover .bl-list__more { color: var(--hp-brand); border-color: var(--hp-brand); }

/* Categories chips (filtres) */
.bl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 8px;
}
.bl-chip {
    padding: 7px 14px;
    border: 0.5px solid var(--hp-line);
    background: var(--hp-white);
    color: var(--hp-ink);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.bl-chip:hover, .bl-chip.is-active {
    border-color: var(--hp-brand);
    color: var(--hp-brand-deep);
    background: var(--hp-brand-soft);
}
