/* Page presentation shared with the blue/orange navigation. */
.dw-page {
    --dw-ink: #183d50;
    --dw-copy: #425865;
    --dw-blue: #0078a8;
    --dw-blue-dark: #005b80;
    --dw-orange: #f7833d;
    --dw-line: #dce7ed;
    --dw-soft: #eff8fc;
    color: var(--dw-copy);
    background: #f4f8fa;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.75;
}
.dw-page .navik-header,
.dw-page > header { background: #142e3c; box-shadow: 0 3px 16px rgba(20, 46, 60, .1); }
.dw-page .navik-menu > ul > li > a,
.dw-page > header a { color: #f2f8fc; }
.dw-page .navik-menu > ul > li.current-menu > a,
.dw-page .navik-menu > ul > li:hover > a { color: #83d8fa; }
.dw-page > header a { text-decoration: none; font-size: .875rem; }
.dw-page > header a:hover { color: #83d8fa; }
.dw-page .section-content { padding-top: 2rem !important; }
.dw-page .dw-content {
    padding: clamp(20px, 2.6vw, 34px);
    border: 1px solid var(--dw-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 5px 24px rgba(27, 62, 79, .035);
    overflow-wrap: anywhere;
}
.dw-page .dw-content p { margin-bottom: 1.15rem; }
.dw-page .dw-content li { margin-bottom: .4rem; }
.dw-page .dw-content ul,
.dw-page .dw-content ol { padding-left: 1.4rem; margin-bottom: 1.25rem; }
.dw-page .dw-content h1 {
    margin: 0 0 1.25rem;
    padding: 0 !important;
    background: transparent;
    color: var(--dw-ink);
    font-size: clamp(1.7rem, 2.6vw, 2.25rem);
    font-weight: 700;
    line-height: 1.23;
    letter-spacing: -.025em;
    text-align: left;
}
.dw-page .dw-content h2,
.dw-page .dw-content .title2,
.dw-page .dw-content .title3 {
    margin: 2rem 0 1rem;
    padding: .2rem 0 .2rem .85rem !important;
    border-left: 3px solid var(--dw-orange);
    background: transparent;
    color: var(--dw-ink);
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    line-height: 1.4;
    font-weight: 700;
    text-align: left;
    scroll-margin-top: 5rem;
}
.dw-page .dw-content h3 {
    margin-top: 1.6rem;
    margin-bottom: .75rem;
    color: var(--dw-ink);
    font-size: 1.1rem;
    line-height: 1.45;
    scroll-margin-top: 5rem;
}
.dw-page .dw-content .lead { color: #4a6472; font-size: 1.05rem; line-height: 1.8; font-weight: 400; }
.dw-page .dw-content .text-justify { text-align: left; }
.dw-page .dw-content a { color: var(--dw-blue-dark); }
.dw-page .dw-content p a:not(.btn),
.dw-page .dw-content li a:not(.btn),
.dw-page .dw-content td a { text-decoration: underline; text-underline-offset: 3px; }
.dw-page .dw-content a:hover { color: #003f5b; }
.dw-page a:focus-visible,
.dw-page summary:focus-visible { outline: 3px solid var(--dw-blue); outline-offset: 3px; }
.dw-page .dw-content hr { border: 0; height: 1px; background: var(--dw-line); opacity: 1; margin: 1.5rem 0; }
.dw-page .dw-content .breadcrumb {
    gap: .2rem;
    padding: 0;
    margin-bottom: 1.4rem;
    font-size: .75rem;
    line-height: 1.6;
    color: #687e8a;
}
.dw-page .dw-content .breadcrumb li { margin-bottom: 0; }
.dw-page .dw-content .breadcrumb li a { text-decoration: none; }
.dw-page .dw-content .breadcrumb li a:hover { text-decoration: underline; }
.dw-page .btn {
    min-height: 44px;
    padding: .7rem 1rem;
    border-radius: 9px;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.5;
    white-space: normal;
    text-decoration: none;
    box-shadow: none;
    transition: background-color .15s ease, border-color .15s ease;
}
.dw-page a.btn-primary,
.dw-page a.btn-info,
.dw-page a.btn-primary:visited,
.dw-page a.btn-info:visited { color: #fff; background: var(--dw-blue); border-color: var(--dw-blue); }
.dw-page a.btn-primary:hover,
.dw-page a.btn-info:hover { color: #fff; background: var(--dw-blue-dark); border-color: var(--dw-blue-dark); }
.dw-page a.btn-outline-primary { color: var(--dw-blue-dark); border-color: #a7cddb; background: #fff; }
.dw-page a.btn-outline-primary:hover { color: var(--dw-blue-dark); border-color: var(--dw-blue); background: var(--dw-soft); }
.dw-page .btn small { font-weight: 400; }
.dw-page .card.distrib {
    height: calc(100% - 1rem);
    border: 1px solid var(--dw-line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.dw-page .card.distrib:hover,
.dw-page .card.distrib:focus-within { transform: none; border-color: #80bcd3; box-shadow: 0 5px 16px rgba(27, 89, 116, .09) !important; }
.dw-page .card.distrib .card-header {
    display: grid;
    place-items: center;
    min-height: 52px;
    padding: .7rem .6rem;
    border: 0;
    border-bottom: 1px solid #edf2f5;
    background: #fff;
    color: var(--dw-ink);
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.4;
}
.dw-page .card.distrib .card-body { display: grid; place-items: center; padding: 1.1rem .6rem; border: 0; background: #fff; }
.dw-page .card.distrib .card-body a { display: block; border-radius: 8px; }
.dw-page .card.distrib .card-body img { display: block; width: 112px; height: 112px; max-width: 100%; margin: 0 auto; object-fit: contain; }
.dw-page .card.distrib .card-footer {
    padding: .6rem .5rem;
    border: 0;
    border-top: 1px solid #e7eff4;
    background: #f1f7fa;
    color: #526e7d;
    font-size: .6875rem;
    line-height: 1.5;
}
.dw-page #top_distrib .card-body img,
.dw-page #last_distrib .card-body img { width: 72px; height: 72px; }
.dw-page #top_distrib .card-header,
.dw-page #last_distrib .card-header { font-size: .6875rem; }
.dw-page #top_distrib .card-footer,
.dw-page #last_distrib .card-footer { font-size: .625rem; }
.dw-page-home .dw-content > .row:first-child {
    margin: 0 0 1.3rem;
    padding: clamp(16px, 2.2vw, 28px);
    border: 1px solid #cfe5ef;
    border-left: 4px solid var(--dw-orange);
    border-radius: 14px;
    background: var(--dw-soft);
}
.dw-page-home .dw-content > .row:first-child > .col-12 { padding: 0; margin-bottom: 0 !important; }
.dw-page-home .dw-content > .row:first-child h1 { font-size: clamp(1.75rem, 2.9vw, 2.45rem); }
.dw-page-home .dw-content > .row:first-child hr { display: none; }
.dw-page-home .dw-content > .row:first-child p:last-of-type { margin-bottom: 0; }
.dw-page .card.brg { border: 1px solid #cfe2ec; border-top: 3px solid #04a6e7; border-radius: 14px; background: #f5fafc; overflow: hidden; }
.dw-page .card.brg > .row { display: grid; grid-template-columns: minmax(100px, .8fr) minmax(0, 1.25fr) minmax(140px, 1fr); }
.dw-page .card.brg > .row > .col-md-4 { width: auto; min-width: 0; }
.dw-page .card.brg > .row > .col-md-4:first-child { display: grid; place-items: center; padding: 1rem; background: #fff; }
.dw-page .card.brg > .row > .col-md-4:first-child > img { width: 150px; max-width: 100%; height: auto; }
.dw-page .card.brg .info_dist,
.dw-page .card.brg .img_dist { background: transparent; }
.dw-page .card.brg .info_dist .card-body { padding: 1.25rem 1rem; }
.dw-page .card.brg h1.card-title { color: var(--dw-ink); font-size: clamp(1.4rem, 2vw, 1.85rem); margin-bottom: .8rem; }
.dw-page .card.brg p.card-text { color: var(--dw-copy); font-size: .8125rem; margin-bottom: .6rem; }
.dw-page .card.brg .info_dist hr { margin: .7rem 0; }
.dw-page .card.brg .info_dist .fa-2x { font-size: 1rem; color: #577582; margin-right: .25rem; }
.dw-page .card.brg .img_dist { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; padding: 1rem; }
.dw-page .card.brg .img_dist > a[data-fancybox] { display: block; width: 100%; }
.dw-page .card.brg .img_dist img { position: static; display: block; width: 100%; max-width: 100%; height: auto; max-height: 145px; margin: 0; object-fit: contain; border-radius: 7px; }
.dw-page .card.brg .img_dist a.btn { position: static; margin: 0; color: #fff; font-size: .8125rem; }
.dw-page .dw-content .card:not(.distrib):not(.brg),
.dw-page .dw-content .answer { padding: 1.2rem; border: 1px solid #cee2ed; border-left: 3px solid var(--dw-orange); border-radius: 12px; background: #f1f8fc; }
.dw-page .dw-content .border-primary { border-color: #bbd9e8 !important; }
.dw-page .dw-content .card h2,
.dw-page .dw-content .card h3 { margin-top: 0; }
.dw-page .dw-content .alert { border-radius: 12px; line-height: 1.75; }
.dw-page .dw-content .alert-warning { color: #6f501e; border-color: #ead6ac; background: #fff8e9; }
.dw-page .dw-content .toc,
.dw-page .dw-content nav[aria-label^="Sommaire"] { padding: 1.2rem 1.3rem; border: 1px solid var(--dw-line); border-radius: 12px; background: #f4f8fa; margin: 1.4rem 0; }
.dw-page .dw-content nav[aria-label^="Sommaire"] ul,
.dw-page .dw-content nav[aria-label^="Sommaire"] ol,
.dw-page .dw-content .toc ol { margin-bottom: 0; }
.dw-page .dw-content .table-responsive { border: 1px solid var(--dw-line); border-radius: 10px; margin: 1.5rem 0; }
.dw-page .dw-content .table { margin-bottom: 0; border-color: var(--dw-line); font-size: .875rem; line-height: 1.65; }
.dw-page .dw-content .table th { background: #edf6fb; color: var(--dw-ink); font-weight: 700; }
.dw-page .dw-content .table td,
.dw-page .dw-content .table th { padding: .85rem; vertical-align: top; min-width: 125px; }
.dw-page .dw-content .table caption { padding: .7rem .85rem; font-size: .75rem; color: #637987; }
.dw-page .dw-content .small,
.dw-page .dw-content .method { font-size: .8125rem; line-height: 1.7; }
.dw-page .dw-download-preview { padding: 1rem; border: 1px solid var(--dw-line); border-radius: 12px; background: #f4f8fa; }
.dw-page .dw-download-preview img { max-height: 300px; width: 100%; object-fit: contain; border-radius: 6px; }
.dw-page .dw-download-action { margin: 1.3rem 0 2rem; }
.dw-page .dw-download-action .btn { min-width: min(100%, 280px); padding: .85rem 1.4rem; }
.dw-page-guide .dw-content { max-width: 960px; margin: 2rem auto; padding: clamp(22px, 4.5vw, 54px); border-top: 3px solid #04a6e7; }
.dw-page-guide .dw-content > .text-uppercase { color: #587887 !important; font-weight: 700; letter-spacing: .08em; font-size: .65rem; }
.dw-page-guide .dw-content h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.dw-page-guide .dw-content .method { color: #687e8a; }
.dw-page .footer,
.dw-page > footer { margin-top: 3rem; padding: 1.75rem 0; background: #142e3c; color: #dce9f0; font-size: .8125rem; line-height: 1.7; }
.dw-page .footer a,
.dw-page > footer a { color: #dce9f0; }
.dw-page .footer a:hover,
.dw-page > footer a:hover { color: #83d8fa; }
.dw-page-error .dw-content { max-width: 820px; margin: clamp(28px, 8vh, 90px) auto; padding: clamp(24px, 5vw, 56px); border-top: 3px solid #04a6e7; }
.dw-page-error .dw-error-code { color: var(--dw-blue); font-size: 4rem; line-height: 1; font-weight: 700; letter-spacing: -.04em; margin-bottom: 1rem; }
.dw-page-error .btn { margin: .4rem .3rem .4rem 0; }
@media (max-width: 991px) {
    .dw-page .section-content { padding-top: 1.1rem !important; }
    .dw-page .dw-content { margin: 0 12px; width: calc(100% - 24px); }
    .dw-page-guide .dw-content { width: 100%; margin: 1.3rem 0; }
    .dw-page-error .dw-content { margin: 1.3rem auto; }
}
@media (max-width: 767px) {
    .dw-page { font-size: 14px; }
    .dw-page .dw-content { padding: 20px 18px; border-radius: 13px; }
    .dw-page .dw-content .lead { font-size: .9375rem; }
    .dw-page .card.distrib .card-body img { width: 84px; height: 84px; }
    .dw-page .card.distrib .card-header { min-height: 50px; font-size: .75rem; }
    .dw-page .card.distrib .card-footer { font-size: .625rem; }
    .dw-page .card.brg > .row { grid-template-columns: 90px minmax(0, 1fr); }
    .dw-page .card.brg > .row > .col-md-4:first-child { padding: .55rem; }
    .dw-page .card.brg .info_dist .card-body { padding: 1rem .75rem; }
    .dw-page .card.brg .img_dist { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; border-top: 1px solid var(--dw-line); }
    .dw-page .card.brg .img_dist > a[data-fancybox] { width: min(45%, 160px); }
    .dw-page .dw-content h2 { margin-top: 1.6rem; }
    .dw-page-home .dw-content > .row:first-child { padding: 16px; }
    .dw-page-home .dw-content > .row:first-child .btn { display: block; margin-right: 0 !important; }
    .dw-page .dw-download-preview { padding: .5rem; }
    .dw-page-guide > header nav { gap: .7rem 1.2rem !important; }
    .dw-page-guide > header nav > a:first-child { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .dw-page a, .dw-page .btn, .dw-page .card.distrib { transition: none; }
}
@media print {
    .dw-page { background: #fff; color: #000; }
    .dw-page .dw-content { box-shadow: none; border: 0; width: 100%; max-width: none; margin: 0; padding: 0; }
}
