/**
 * Home presse hellobiz.fr. Scope .dn-hb only.
 * Charte logo : vert #00c66b, ambre #f6a800, encre #171717, papier blanc.
 * L ambre et le vert vif ne portent jamais du texte sur papier.
 */

.dn-hb {
    --hb-ink: #171717;
    --hb-paper: #ffffff;
    --hb-soft: #f3faf6;
    --hb-green: #00c66b;
    --hb-green-ink: #0a6b3a;
    --hb-amber: #f6a800;
    --hb-line: #d5e3da;
    --hb-muted: #5a635e;
    --hb-display: Inter, "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
    --hb-body: Inter, ui-sans-serif, system-ui, sans-serif;
    color: var(--hb-ink);
    background: var(--hb-paper);
    font-family: var(--hb-body);
}

.dn-hb *,
.dn-hb *::before,
.dn-hb *::after { box-sizing: border-box; }

.dn-hb .dn-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.dn-hb :is(h1, h2, h3, p, ol, ul) { margin: 0; }
.dn-hb a { color: inherit; text-decoration: none; }
.dn-hb a:focus-visible { outline: 3px solid var(--hb-green-ink); outline-offset: 3px; }
.dn-hb .dn-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
.dn-hb .dn-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--hb-soft);
}

.dn-hb__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dn-hb__cat {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--hb-green-ink);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.dn-hb__byline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 12px;
    color: var(--hb-muted);
    font-size: 13px;
    line-height: 1.35;
}

.dn-hb__byline a { color: var(--hb-ink); }
.dn-hb__byline a:hover { color: var(--hb-green-ink); }

.dn-hb :is(h2, h3) a {
    overflow-wrap: break-word;
    hyphens: none;
}

.dn-hb :is(h2, h3) a:hover { color: var(--hb-green-ink); }

.dn-hb-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--hb-ink);
}

.dn-hb-head h2 {
    font-family: var(--hb-display);
    font-size: 26px;
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.dn-hb-all {
    color: var(--hb-green-ink);
    font-size: 13px;
    font-weight: 650;
}

.dn-hb-all:hover { text-decoration: underline; }

/* Plateau : une + bandeau titres ------------------------------------- */

.dn-hb-open {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 0 36px;
    padding: 22px 0 8px;
}

.dn-hb-lead__media {
    display: block;
    overflow: hidden;
    height: 340px;
    margin-bottom: 16px;
    background: var(--hb-soft);
}

.dn-hb-lead__body h2 {
    max-width: 22ch;
    margin: 0 0 12px;
    font-family: var(--hb-display);
    font-size: 36px;
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.dn-hb-lead__dek {
    max-width: 46ch;
    margin: 0 0 12px;
    color: var(--hb-muted);
    font-size: 16px;
    line-height: 1.45;
}

.dn-hb-tape {
    display: flex;
    flex-direction: column;
    border-top: 2px solid var(--hb-ink);
}

.dn-hb-tape article {
    padding: 14px 0 14px 14px;
    border-bottom: 1px solid var(--hb-line);
    border-left: 3px solid var(--hb-amber);
}

.dn-hb-tape article:first-child { padding-top: 16px; }

.dn-hb-tape h3 {
    margin: 0 0 8px;
    font-family: var(--hb-display);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.22;
}

/* Trois cartes marche ----------------------------------------------- */

.dn-hb-market { padding: 36px 0 8px; }

.dn-hb-market__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 22px;
}

.dn-hb-market__media {
    display: block;
    overflow: hidden;
    height: 168px;
    margin-bottom: 12px;
    background: var(--hb-soft);
}

.dn-hb-market h3 {
    margin: 0 0 8px;
    font-family: var(--hb-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.22;
}

/* Rubrique : une illustree + trois lignes --------------------------- */

.dn-hb-desk { padding: 32px 0 4px; }

.dn-hb-desk__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 0 32px;
}

.dn-hb-desk__media {
    display: block;
    overflow: hidden;
    height: 220px;
    margin-bottom: 14px;
    background: var(--hb-soft);
}

.dn-hb-desk__lead h3 {
    margin: 0 0 10px;
    font-family: var(--hb-display);
    font-size: 24px;
    font-weight: 720;
    letter-spacing: -0.03em;
    line-height: 1.18;
}

.dn-hb-desk__lead p {
    max-width: 46ch;
    margin: 0 0 10px;
    color: var(--hb-muted);
    font-size: 15px;
    line-height: 1.45;
}

.dn-hb-desk__list article {
    padding: 14px 0;
    border-bottom: 1px solid var(--hb-line);
}

.dn-hb-desk__list article:first-child { padding-top: 0; }

.dn-hb-desk__list h3 {
    margin: 0 0 8px;
    font-family: var(--hb-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.22;
}

/* Fil horodate ------------------------------------------------------ */

.dn-hb-wire { padding: 36px 0 64px; }

.dn-hb-wire__list {
    display: grid;
    gap: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--hb-ink);
}

.dn-hb-wire__list li {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid var(--hb-line);
}

.dn-hb-wire__list time {
    color: var(--hb-muted);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    line-height: 1.4;
    white-space: nowrap;
}

.dn-hb-wire__list a {
    display: block;
    font-family: var(--hb-display);
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.28;
}

.dn-hb-wire__list a:hover { color: var(--hb-green-ink); }

@media (max-width: 1024px) {
    .dn-hb-open,
    .dn-hb-desk__grid { grid-template-columns: minmax(0, 1fr); }
    .dn-hb-lead__media { height: 260px; }
    .dn-hb-lead__body h2 { font-size: 30px; }
    .dn-hb-tape { margin-top: 22px; }
    .dn-hb-market__grid { grid-template-columns: minmax(0, 1fr); }
    .dn-hb-market__media { height: 200px; }
}

@media (max-width: 720px) {
    .dn-hb .dn-shell { width: min(100% - 28px, 1180px); }
    .dn-hb-open { padding-top: 14px; }
    .dn-hb-lead__media { height: 176px; margin-bottom: 12px; }
    .dn-hb-lead__body h2 { max-width: none; font-size: 26px; }
    .dn-hb-lead__dek { font-size: 15px; }
    .dn-hb-tape article:nth-child(n + 3) { }
    .dn-hb-tape h3 { font-size: 18px; }
    .dn-hb-head h2 { font-size: 22px; }
    .dn-hb-desk__media { height: 180px; }
    .dn-hb-desk__lead h3 { font-size: 21px; }
    .dn-hb-wire__list li { grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: baseline; }
    .dn-hb-wire__list a { font-size: 16px; }
}
