/* E-book presentation only. Shared shell, forms and theme engine remain unchanged. */
.book-site > header.site-header[hidden]{display:none!important}
html[data-theme][data-db-page=e-book] #book-main{--ebook-surface:var(--ds-card);--ebook-line:var(--ds-line);--ebook-soft:var(--ds-field)}
html[data-theme][data-db-page=e-book] #book-main .site-container{width:calc(100% - 48px);max-width:1240px;margin-inline:auto}
html[data-theme][data-db-page=e-book] #book-main .book-hero{display:block!important;background:linear-gradient(115deg,#080b10,#202932);color:#fff;padding:48px 0 66px!important;margin:0}
html[data-theme][data-db-page=e-book] #book-main .db-books-intro{max-width:1240px;padding:0;display:block}
html[data-theme][data-db-page=e-book] #book-main .hero-eyebrow{color:#fff;margin:0 0 18px;letter-spacing:.13em}
html[data-theme][data-db-page=e-book] #book-main .hero-eyebrow span{background:#ffd200}
html[data-theme][data-db-page=e-book] #book-main h1{color:#fff!important;font-size:clamp(30px,3vw,46px);line-height:1.16;max-width:760px;margin:0;text-wrap:balance}
html[data-theme][data-db-page=e-book] #book-main .hero-description{color:#e7e9ed;font-size:17px;line-height:1.65;max-width:750px;margin:18px 0 0}
.db-book-reassurance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;max-width:740px;margin:26px 0 0;padding:0;list-style:none}
.db-book-reassurance li{display:flex;align-items:center;gap:14px;font-size:14px;line-height:1.5;min-width:0}
.db-book-reassurance svg{width:34px;height:34px;color:#ffd200;flex-shrink:0;stroke-width:1.5}
html[data-theme][data-db-page=e-book] #book-main .db-book-card{width:calc(100% - 48px);max-width:1240px;margin:24px auto 0;padding:28px!important;background:var(--ebook-surface);border:1px solid var(--ebook-line);border-radius:20px;box-sizing:border-box}
html[data-theme][data-db-page=e-book] #book-main .book-facts.db-book-card{margin-top:-28px;position:relative}
html[data-theme][data-db-page=e-book] #book-main .db-book-card>.site-container{width:100%;max-width:none;margin:0}
html[data-theme][data-db-page=e-book] #book-main :is(.db-book-card-layout,.second-book-layout){display:grid!important;grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr)!important;gap:36px;align-items:center}
.db-book-copy,.second-book-layout>div{min-width:0}
.db-book-badges{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:16px}
html[data-theme][data-db-page=e-book] #book-main .db-book-badges .eyebrow,html[data-theme][data-db-page=e-book] #book-main .second-book-layout .eyebrow{display:inline-block;margin:0;background:#ffd200;color:#101114;padding:6px 12px;border-radius:999px;font-size:12px;letter-spacing:0;font-weight:700}
.db-book-badges>span{background:var(--ebook-soft);padding:6px 12px;border-radius:999px;font-size:12px}
html[data-theme][data-db-page=e-book] #book-main .db-book-card h2{font-size:clamp(25px,2.65vw,36px)!important;line-height:1.2!important;max-width:none!important;margin:0 0 14px;text-wrap:pretty}
html[data-theme][data-db-page=e-book] #book-main .second-book h2{margin-top:16px}
html[data-theme][data-db-page=e-book] #book-main :is(.db-book-description,.second-book-subtitle,.second-book .editorial-copy){font-size:16px;line-height:1.7;color:var(--muted-foreground);margin:0 0 14px;padding:0!important;background:none!important;border:0!important}
html[data-theme][data-db-page=e-book] #book-main .hero-byline{margin:12px 0 18px;justify-content:flex-start;font-size:13px;gap:7px;color:var(--muted-foreground)}
html[data-theme][data-db-page=e-book] #book-main :is(.hero-book-image,.second-book-cover){margin:0!important;padding:0!important;width:100%;max-width:100%!important;min-width:0}
html[data-theme][data-db-page=e-book] #book-main .hero-book-image picture{display:block;aspect-ratio:auto}
html[data-theme][data-db-page=e-book] #book-main :is(.hero-book-image img,.second-book-cover img){display:block;width:100%;max-width:100%;height:auto!important;aspect-ratio:3/2!important;object-fit:contain;border-radius:10px}
html[data-theme][data-db-page=e-book] #book-main .hero-book-image figcaption{font-size:11px;line-height:1.5;margin:10px 0 0;padding:0;color:var(--muted-foreground)}
html[data-theme][data-db-page=e-book] #book-main .facts-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;border:0;margin:20px 0;width:100%}
html[data-theme][data-db-page=e-book] #book-main .facts-grid>div{display:flex;align-items:center;gap:9px;min-width:0;padding:13px 10px;border:1px solid var(--ebook-line);border-radius:12px;background:var(--ebook-soft)}
html[data-theme][data-db-page=e-book] #book-main .facts-grid strong{font-size:12px;font-weight:600;line-height:1.5}
.facts-grid svg{width:22px;height:22px;flex-shrink:0;color:var(--gold)}
html[data-theme][data-db-page=e-book] #book-main .db-book-card .hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0 0;justify-content:flex-start}
html[data-theme][data-db-page=e-book] #book-main .db-book-card .hero-actions .book-button{height:auto;min-height:48px;white-space:normal;text-align:center;justify-content:center;gap:12px;padding:12px 20px;font-size:14px;line-height:1.4;max-width:100%;border-radius:12px}
html[data-theme=light][data-db-page=e-book] #book-main .second-book{background:#fffbea}
html[data-theme=dark][data-db-page=e-book] #book-main .second-book{background:#24221a}
html[data-theme][data-db-page=e-book] #book-main .db-book-meta{font-size:13px;margin:18px 0;padding:14px 16px;background:var(--ebook-soft);border:1px solid var(--ebook-line);border-radius:12px}
html[data-theme][data-db-page=e-book] #book-main .second-book-free{font-size:12px;line-height:1.65;margin:16px 0 0;color:var(--muted-foreground)}
html[data-theme][data-db-page=e-book] #book-main .editorial-section:not(.db-book-card){padding:42px 0!important}
html[data-theme][data-db-page=e-book] #book-main .db-books-why h2{max-width:24ch!important;margin:12px 0 24px;font-size:34px!important}
html[data-theme][data-db-page=e-book] #book-main .reason-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;padding:0;background:none}
html[data-theme][data-db-page=e-book] #book-main .reason{border:1px solid var(--ebook-line)!important;border-radius:14px;padding:20px!important;background:var(--ebook-surface)}
html[data-theme][data-db-page=e-book] #book-main .reason-number{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#ffd200;color:#111;font-size:13px}
html[data-theme][data-db-page=e-book] #book-main .reason h3{font-size:17px;margin:14px 0 8px}
html[data-theme][data-db-page=e-book] #book-main .reason p{font-size:15px;margin:0;line-height:1.65}
html[data-theme][data-db-page=e-book] #book-main #faq .faq-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important;gap:56px!important;max-width:1240px!important}
html[data-theme][data-db-page=e-book] #book-main #faq h2{max-width:18ch!important;font-size:34px!important;line-height:1.2!important;margin:14px 0}
.book-editorial #faq .faq-book-icon{display:none}
.book-editorial #faq .faq-list{border:0;min-width:0}
.book-editorial #faq .faq-item{border:1px solid var(--ebook-line);border-radius:12px;margin-bottom:10px;background:var(--ebook-surface);overflow:hidden}
html[data-theme][data-db-page=e-book] #book-main #faq .faq-item h3 .book-button{border:0;border-radius:0;padding:12px 16px;min-height:50px;height:auto;font-size:14px;line-height:1.5;overflow-wrap:normal;gap:16px}
.book-editorial #faq .faq-plus{background:#ffd200;color:#111;border-radius:50%;padding:5px;width:28px;height:28px;flex-shrink:0}
.book-editorial #faq .faq-item p{padding:0 16px 16px!important;font-size:14px;line-height:1.7}
html[data-theme][data-db-page=e-book] #book-main .legal-section{padding:24px 0;border-top:1px solid var(--ebook-line);background:var(--ebook-soft)}
html[data-theme][data-db-page=e-book] #book-main .legal-inner h2{font-size:20px!important;line-height:1.4;margin:0;max-width:none!important}
html[data-theme][data-db-page=e-book] #book-main .legal-inner p{font-size:13px;line-height:1.65}
.book-editorial #book-main>dossierbel-consultation{margin-block:36px}
@media(max-width:1023px){
 html[data-theme][data-db-page=e-book] #book-main :is(.db-book-card-layout,.second-book-layout){grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:24px}
 html[data-theme][data-db-page=e-book] #book-main .facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-theme][data-db-page=e-book] #book-main .db-book-card{padding:22px!important}
}
@media(max-width:760px){
 html[data-theme][data-db-page=e-book] #book-main .site-container{width:calc(100% - 32px)}
 html[data-theme][data-db-page=e-book] #book-main .book-hero{padding:30px 0 54px!important}
 html[data-theme][data-db-page=e-book] #book-main h1{font-size:30px;line-height:1.2}
 html[data-theme][data-db-page=e-book] #book-main .hero-description{font-size:15px;line-height:1.65;margin-top:16px}
 .db-book-reassurance{gap:14px;margin-top:22px}
 .db-book-reassurance li{display:block;font-size:12px}
 .db-book-reassurance svg{display:block;width:28px;height:28px;margin-bottom:9px}
 html[data-theme][data-db-page=e-book] #book-main .db-book-card{width:calc(100% - 24px);padding:20px!important;border-radius:16px;margin-top:20px}
 html[data-theme][data-db-page=e-book] #book-main .db-book-card>.site-container{width:100%}
 html[data-theme][data-db-page=e-book] #book-main :is(.db-book-card-layout,.second-book-layout){display:flex!important;flex-direction:column;gap:18px}
 .db-book-copy,.second-book-layout>div{display:contents}
 html[data-theme][data-db-page=e-book] #book-main .db-book-card :is(.db-book-badges,.eyebrow){order:0;align-self:flex-start;margin:0}
 html[data-theme][data-db-page=e-book] #book-main .db-book-card h2{order:1;font-size:27px!important;line-height:1.22!important;margin:0}
 html[data-theme][data-db-page=e-book] #book-main .db-book-card :is(.db-book-description,.second-book-subtitle,.second-book .editorial-copy){order:2;margin:0;font-size:15px}
 html[data-theme][data-db-page=e-book] #book-main .db-book-card .hero-byline{order:2;margin:0;flex-wrap:wrap;justify-content:flex-start;align-self:flex-start}
 html[data-theme][data-db-page=e-book] #book-main :is(.hero-book-image,.second-book-cover){order:3;margin:0!important}
 html[data-theme][data-db-page=e-book] #book-main .facts-grid{order:4;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;gap:10px}
 html[data-theme][data-db-page=e-book] #book-main .facts-grid>div{padding:14px 12px;min-height:64px;gap:12px}
 html[data-theme][data-db-page=e-book] #book-main .facts-grid strong{font-size:14px}
 html[data-theme][data-db-page=e-book] #book-main .db-book-card .hero-actions{order:5;display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:10px;margin:0}
 html[data-theme][data-db-page=e-book] #book-main .db-book-card .hero-actions .book-button{width:100%;font-size:14px;min-height:48px}
 html[data-theme][data-db-page=e-book] #book-main .db-book-meta{order:4;width:100%;margin:0}
 html[data-theme][data-db-page=e-book] #book-main .db-book-card :is(.download-count,.second-book-free){order:6;width:100%;margin:0;font-size:12px}
 html[data-theme][data-db-page=e-book] #book-main .reason-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 html[data-theme][data-db-page=e-book] #book-main .reason{padding:16px!important}
 html[data-theme][data-db-page=e-book] #book-main .reason h3{font-size:15px}
 html[data-theme][data-db-page=e-book] #book-main .reason p{font-size:14px}
 html[data-theme][data-db-page=e-book] #book-main .db-books-why h2{font-size:28px!important}
 html[data-theme][data-db-page=e-book] #book-main #faq .faq-layout{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
 html[data-theme][data-db-page=e-book] #book-main #faq h2{font-size:28px!important;max-width:22ch!important}
 html[data-theme][data-db-page=e-book] #book-main .legal-inner{gap:12px}
 .book-editorial #book-main>dossierbel-consultation{margin-block:26px}
}
@media(max-width:360px){html[data-theme][data-db-page=e-book] #book-main .reason-grid{grid-template-columns:minmax(0,1fr)!important}}
html[data-theme][data-db-page=e-book] #book-main[dir=rtl] :is(h1,h2),.book-editorial[dir=rtl] #book-main :is(h1,h2){line-height:1.5!important}
/* The shared editorial stylesheet uses important theme backgrounds. Keep this hero dark in both themes. */
html[data-theme][data-db-page=e-book] #book-main .book-hero{background:linear-gradient(115deg,#080b10,#202932)!important;color:#fff!important}
html[data-theme][data-db-page=e-book] #book-main .book-hero :is(.hero-eyebrow,.hero-description,.db-book-reassurance li,.db-book-reassurance span){color:#f3f4f6!important}
html[data-theme][data-db-page=e-book] #book-main .db-book-card .book-button-primary{background:#ffd200!important;color:#111!important;border-color:#ffd200!important}
html[data-theme][data-db-page=e-book] #book-main .second-book{background:var(--ebook-soft)!important}
html[data-theme=light][data-db-page=e-book] #book-main .second-book{background:#fffbea!important}
html[data-theme=dark][data-db-page=e-book] #book-main .second-book{background:#24221a!important}

html[data-theme][data-db-page=e-book] #book-main .db-book-card :is(.db-book-badges .eyebrow,.second-book-layout .eyebrow){color:#111!important}
.db-guide-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}
.db-guide-facts>div{display:flex;align-items:center;gap:10px;padding:13px 10px;border:1px solid var(--ebook-line);border-radius:12px;background:var(--ebook-surface);font-size:12px;line-height:1.5;min-width:0}
.db-guide-facts svg{width:22px;height:22px;flex-shrink:0;color:var(--gold)}
@media(max-width:760px){.db-guide-facts{order:4;width:100%;margin:0}.second-book-meta{order:4;margin:0!important;width:100%;font-size:12px}.db-guide-facts>div{display:block;padding:12px 9px}.db-guide-facts svg{display:block;margin-bottom:8px}}
html[data-theme][data-db-page=e-book] #book-main .reason{border-radius:14px!important;background:var(--ebook-surface)!important}
html[data-theme][data-db-page=e-book] #book-main .db-book-card .book-button-outline,html[data-theme][data-db-page=e-book] #book-main .db-book-card .book-button-outline svg{color:var(--ds-text)!important}
/* SVG paths inherit the outline label color, including Dark Mode. */
html[data-theme][data-db-page=e-book] #book-main .db-book-card .book-button-outline svg *{color:inherit!important;stroke:currentColor!important}
@media(max-width:760px){html[data-theme][data-db-page=e-book] #book-main .reason:last-child:nth-child(odd){grid-column:1/-1}}

/* E-book download block: readable hierarchy in FR, NL and AR, light and dark. */
html[data-theme][data-db-page=e-book] #book-main .download-section{background:#f7f8fa!important;color:#151b25!important;padding:64px 0!important}
html[data-theme][data-db-page=e-book] #book-main .download-inner{max-width:810px;margin-inline:auto;text-align:center}
html[data-theme][data-db-page=e-book] #book-main .download-section h2{color:#151b25!important;line-height:1.25;margin:22px auto 0;max-width:760px;text-wrap:balance}
html[data-theme][data-db-page=e-book] #book-main .download-section p:not(.eyebrow){color:#465365!important;line-height:1.7;margin:20px auto 24px;max-width:680px}
html[data-theme][data-db-page=e-book] #book-main .download-section small{color:#536174!important;margin-top:14px;line-height:1.6}
html[data-theme][data-db-page=e-book] #book-main .download-section .eyebrow{color:#151b25!important}
html[data-theme=dark][data-db-page=e-book] #book-main .download-section{background:#151a22!important;color:#f5f6f8!important}
html[data-theme=dark][data-db-page=e-book] #book-main .download-section :is(h2,.eyebrow){color:#f5f6f8!important}
html[data-theme=dark][data-db-page=e-book] #book-main .download-section p:not(.eyebrow),html[data-theme=dark][data-db-page=e-book] #book-main .download-section small{color:#c7ced9!important}
@media(max-width:760px){html[data-theme][data-db-page=e-book] #book-main .download-section{padding:48px 0!important}html[data-theme][data-db-page=e-book] #book-main .download-section h2{line-height:1.35}}

/* Desktop-only e-book FAQ: stacked, centered heading and question list. */
@media (min-width:1024px){
 html[data-theme][data-db-page=e-book] #book-main #faq .faq-layout{
  grid-template-columns:minmax(0,1fr)!important;
  gap:28px!important;
  max-width:620px!important;
  margin-inline:auto;
 }
 html[data-theme][data-db-page=e-book] #book-main #faq .faq-layout>div:first-child{
  text-align:center;
 }
 html[data-theme][data-db-page=e-book] #book-main #faq h2{
  max-width:none!important;
  margin:12px auto 0;
 }
 html[data-theme][data-db-page=e-book] #book-main #faq .faq-list{
  width:100%;
 }

}

/* Download count visibility on the e-book section, all languages. */
html[data-theme][data-db-page=e-book] #book-main .download-section .download-count,
html[data-theme][data-db-page=e-book] #book-main .download-section .download-count strong{color:#151b25!important}
html[data-theme=dark][data-db-page=e-book] #book-main .download-section .download-count,
html[data-theme=dark][data-db-page=e-book] #book-main .download-section .download-count strong{color:#f5f6f8!important}

/* Keep the first book below the orientation block in FR, NL and AR. */
html[data-theme][data-db-page=e-book] #book-main dossierbel-journey + .book-facts.db-book-card{margin-block-start:32px!important}
