/* =====================================================================
   Page sections (views/content_blocks.xml) and the article layout they sit
   in (cb_article: case studies, news). Everything sits on the left: text in a 760px reading
   column (.cb-col), photos, galleries, videos and facts wider (.cb-wide, up to
   1100px, or the whole story column beside a sidebar). Built on
   theme_dincel components.css (design values, buttons, call to action).
   ===================================================================== */

.cb {
    --cb-col: 760px;
    --cb-wide: 1100px;
    font-family: var(--dc-font);
}
.cb-col,
.cb-wide {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
}
.cb-col {
    max-width: var(--cb-col);
}
.cb-wide {
    max-width: var(--cb-wide);
}
.cb-block {
    margin-top: var(--dc-space-8);
}
.cb-block:first-child {
    margin-top: 0;
}
.cb .cb-title {
    margin: 0 0 var(--dc-space-4);
    padding: 0;
    color: var(--dc-ink);
    font-family: var(--dc-font-head);
    font-size: var(--dc-title-sm);
    font-weight: bold;
    line-height: 1.15;
}

/* ---------- text ----------
   Text is saved without its own styling (content_block.py clean_html), so it
   all reads the same: paragraphs, headings, lists, links, bold, photos,
   "button" links (.cb-button), data tables (.cb-table) and layout tables. The
   font and span rules below are a fallback for anything older. */
.cb-text {
    color: var(--dc-text);
    font-size: 1.0625rem;
    line-height: 1.7;
}
.cb .cb-text p,
.cb .cb-text li {
    margin: 0 0 1.1em;
    color: var(--dc-text);
    font-size: inherit;
    line-height: inherit;
}
.cb .cb-text p:last-child {
    margin-bottom: 0;
}
.cb .cb-text font,
.cb .cb-text span {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
}
.cb .cb-text b,
.cb .cb-text strong {
    color: var(--dc-ink);
    font-weight: 700;
}
.cb .cb-text h2,
.cb .cb-text h3,
.cb .cb-text h4 {
    margin: 1.6em 0 0.6em;
    padding: 0;
    color: var(--dc-ink);
    font-family: var(--dc-font-head);
    font-weight: bold;
    line-height: 1.2;
}
.cb .cb-text h2 { font-size: 1.5rem; }
.cb .cb-text h3 { font-size: 1.25rem; }
.cb .cb-text h4 { font-size: 1.0625rem; }
.cb .cb-text a {
    color: var(--dc-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cb .cb-text ul,
.cb .cb-text ol {
    margin: 0 0 1.1em;
    padding-left: 1.25em;
}
.cb .cb-text li::marker {
    color: var(--dc-red);
}
.cb .cb-text img {
    display: block;
    max-width: 100%;
    height: auto !important;
    margin: var(--dc-space-6) 0;
}
.cb .cb-text iframe {
    max-width: 100%;
}
/* layout tables from old articles: plain columns, stacked on phones */
.cb .cb-text table:not(.cb-table) {
    width: 100% !important;
    margin: 0 0 1.1em;
    border: 0;
    border-collapse: collapse;
}
.cb .cb-text table:not(.cb-table) td {
    width: auto !important;
    padding: 0 var(--dc-space-6) 0 0 !important;
    border: 0 !important;
    vertical-align: top;
}
.cb .cb-text table:not(.cb-table) td:last-child {
    padding-right: 0 !important;
}
/* data tables: the site's table style (as the application pages). Columns
   share the width equally, so tables one after another line up. */
.cb .cb-text .cb-table {
    width: 100%;
    margin: 0 0 1.4em;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: var(--dc-text-body);
}
.cb .cb-text .cb-table th,
.cb .cb-text .cb-table td {
    padding: var(--dc-space-3) var(--dc-space-4);
    border: 0;
    border-bottom: 1px solid var(--dc-line);
    text-align: left;
    vertical-align: top;
}
.cb .cb-text .cb-table th,
.cb .cb-text .cb-table tr:first-child td {
    color: var(--dc-ink);
    font-weight: 700;
}
.cb .cb-text .cb-table tr:first-child > * {
    border-bottom: 2px solid var(--dc-ink);
}
.cb .cb-text .cb-table p {
    margin: 0;
}
/* a link that was styled as a button */
.cb .cb-text .cb-button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: var(--dc-space-2) var(--dc-space-5);
    border: 1px solid var(--dc-ink);
    background: #fff;
    color: var(--dc-ink);
    font-size: var(--dc-text-body);
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.cb .cb-text .cb-button:hover,
.cb .cb-text .cb-button:focus-visible {
    border-color: var(--dc-red);
    background: var(--dc-red);
    color: #fff;
    text-decoration: none;
}
.cb .cb-text hr {
    margin: var(--dc-space-6) 0;
    border: 0;
    border-top: 1px solid var(--dc-line);
}

/* ---------- photo ---------- */
.cb-figure {
    margin: 0;
}
.cb-figure img {
    display: block;
    width: 100%;
    height: auto;
}
.cb-figure figcaption,
.cb .cb-caption {
    margin: var(--dc-space-3) 0 0;
    color: var(--dc-muted);
    font-size: var(--dc-text-sm);
    line-height: 1.5;
}

/* ---------- gallery: a mosaic ----------
   One large photo and up to four smaller ones (.cb-gallery-1 ... -5 by how
   many there are); the rest are hidden but open in the viewer. On phones one
   large and two small. */
.cb-gallery-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--dc-space-4);
}
.cb-gallery-count {
    flex: none;
    color: var(--dc-muted);
    font-size: var(--dc-text-sm);
}
.cb-gallery-frame {
    position: relative;
}
.cb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: var(--dc-space-2);
    aspect-ratio: 2 / 1;
    margin: 0;
    padding: 0;
    list-style: none;
}
.cb-gallery-grid > li {
    min-width: 0;
    min-height: 0;
}
.cb-gallery-grid > li:first-child {
    grid-row: span 2;
    grid-column: span 2;
}
.cb-gallery-grid > li:nth-child(n+6) {
    display: none;
}
.cb-gallery-1 {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    aspect-ratio: 16 / 9;
}
.cb-gallery-1 > li:first-child {
    grid-row: auto;
    grid-column: auto;
}
.cb-gallery-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
    aspect-ratio: 8 / 3;
}
.cb-gallery-2 > li:first-child {
    grid-row: auto;
    grid-column: auto;
}
.cb-gallery-3 {
    grid-template-columns: 2fr 1fr;
}
.cb-gallery-3 > li:first-child {
    grid-column: auto;
}
/* four: the large one and three stacked beside it */
.cb-gallery-4 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
}
.cb-gallery-4 > li:first-child {
    grid-row: span 3;
    grid-column: auto;
}
.cb-gallery-item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--dc-soft);
    cursor: zoom-in;
}
.cb-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s;
}
.cb-gallery-item:hover img,
.cb-gallery-item:focus-visible img {
    transform: scale(1.04);
}
.cb-gallery-item:focus-visible {
    outline: 2px solid var(--dc-red);
    outline-offset: 2px;
}
/* "+7": the last tile when there are more photos */
.cb-gallery-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 17, 17, 0.55);
    color: #fff;
    font-family: var(--dc-font-head);
    font-size: 1.75rem;
    font-weight: bold;
    transition: background 0.2s;
}
.cb-gallery-item:hover .cb-gallery-more {
    background: rgba(17, 17, 17, 0.4);
}
.cb-gallery-more--narrow {
    display: none;
}
.cb-gallery-all {
    position: absolute;
    right: var(--dc-space-3);
    bottom: var(--dc-space-3);
    display: inline-flex;
    align-items: center;
    gap: var(--dc-space-2);
    min-height: 40px;
    padding: 0 var(--dc-space-4);
    border: 1px solid var(--dc-ink);
    border-radius: 0;
    background: #fff;
    color: var(--dc-ink);
    font-size: var(--dc-text-sm);
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: background 0.15s, color 0.15s;
}
.cb-gallery-all:hover {
    background: var(--dc-ink);
    color: #fff;
}
.cb-gallery-all:focus-visible {
    outline: 2px solid var(--dc-red);
    outline-offset: 2px;
}
.cb-gallery-all svg {
    display: block;
}

/* videos and sound files inside text (cb_rich_text) */
.cb-text-media {
    margin: var(--dc-space-6) 0;
}
.cb-text-media:first-child {
    margin-top: 0;
}

/* ---------- audio ----------
   A light card: a round red play / pause, the title, and a progress bar with
   the time. Until the script runs (or without it) the browser's own player. */
.cb-audio {
    display: flex;
    align-items: center;
    gap: var(--dc-space-5);
    padding: var(--dc-space-5) var(--dc-space-6);
    border: 1px solid var(--dc-line);
    background: #fff;
}
.cb-audio-play {
    position: relative;
    display: none;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--dc-red);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(220, 20, 21, 0.25);
    transition: transform 0.15s, box-shadow 0.15s;
}
.cb-audio-play:hover {
    transform: scale(1.05);
}
.cb-audio-play:focus-visible {
    outline: 2px solid var(--dc-ink);
    outline-offset: 3px;
}
.cb-audio-play svg {
    display: block;
}
.cb-audio-i-play {
    margin-left: 3px;
}
.cb-audio-play .cb-audio-i-pause,
.cb-audio.is-playing .cb-audio-play .cb-audio-i-play {
    display: none;
}
.cb-audio.is-playing .cb-audio-play .cb-audio-i-pause {
    display: block;
}
.cb-audio-body {
    flex: 1 1 auto;
    min-width: 0;
}
.cb-audio-label {
    display: block;
    margin-bottom: 2px;
    color: var(--dc-red);
    font-size: var(--dc-text-label);
    font-weight: 500;
    letter-spacing: var(--dc-tracking-label);
    text-transform: uppercase;
}
.cb-audio-title {
    display: block;
    color: var(--dc-ink);
    font-family: var(--dc-font-head);
    font-size: 1.25rem;
    line-height: 1.25;
}
.cb-audio-caption {
    display: block;
    margin-top: var(--dc-space-1);
    color: var(--dc-muted);
    font-size: var(--dc-text-sm);
}
.cb-audio audio {
    display: block;
    width: 100%;
    height: 40px;
    margin-top: var(--dc-space-3);
}
.cb-audio-track {
    display: none;
    align-items: center;
    gap: var(--dc-space-4);
    margin-top: var(--dc-space-3);
}
.cb-audio.is-ready .cb-audio-play {
    display: flex;
}
.cb-audio.is-ready .cb-audio-track {
    display: flex;
}
.cb-audio.is-ready audio {
    display: none;
}
.cb-audio-time {
    flex: none;
    color: var(--dc-muted);
    font-size: var(--dc-text-sm);
    font-variant-numeric: tabular-nums;
}
/* the progress bar: grey, filled red up to the position (--p) */
.cb-audio-seek {
    --p: 0%;
    flex: 1 1 auto;
    width: 100%;
    height: 20px;
    margin: 0;
    background: transparent;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.cb-audio-seek::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--dc-red) var(--p), var(--dc-line) var(--p));
}
.cb-audio-seek::-moz-range-track {
    height: 4px;
    border-radius: 2px;
    background: var(--dc-line);
}
.cb-audio-seek::-moz-range-progress {
    height: 4px;
    border-radius: 2px;
    background: var(--dc-red);
}
.cb-audio-seek::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
    margin-top: -5px;
    border: 0;
    border-radius: 50%;
    background: var(--dc-red);
    -webkit-appearance: none;
    appearance: none;
}
.cb-audio-seek::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 0;
    border-radius: 50%;
    background: var(--dc-red);
}
.cb-audio-seek:focus-visible {
    outline: 2px solid var(--dc-red);
    outline-offset: 2px;
}

/* ---------- video (loads when played) ---------- */
.cb-play {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #111;
    cursor: pointer;
}
.cb-play--wide {
    aspect-ratio: 16 / 9;
}
.cb-play img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.35s ease;
}
.cb-play:hover img,
.cb-play:focus-visible img {
    opacity: 1;
    transform: scale(1.02);
}
.cb-play:focus-visible {
    outline: 2px solid var(--dc-red);
    outline-offset: 3px;
}
/* the play button: a dark see-through circle with a white triangle, turning
   red on hover; it fades in so it doesn't sit on an empty cover while loading */
.cb-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    padding-left: 4px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    transform: translate(-50%, -50%);
    animation: cb-play-in 0.4s ease 0.15s both;
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
@keyframes cb-play-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
.cb-play:hover .cb-play-icon,
.cb-play:focus-visible .cb-play-icon {
    border-color: var(--dc-red);
    background: var(--dc-red);
    transform: translate(-50%, -50%) scale(1.06);
}
.cb-frame,
.cb-video-file {
    display: block;
    width: 100%;
    border: 0;
    background: #000;
}
.cb-play--wide + .cb-frame,
.cb-video-wrap .cb-frame,
.cb-video-file {
    aspect-ratio: 16 / 9;
}

/* ---------- short (vertical) videos ---------- */
.cb-shorts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
    gap: var(--dc-space-4);
}
.cb-short {
    margin: 0;
}
.cb-play--short,
.cb-short .cb-frame {
    aspect-ratio: 9 / 16;
    background: linear-gradient(160deg, #2b2b2b, #111);
}
/* a short video playing in its card, with the full-screen button */
.cb-short-live {
    position: relative;
}
.cb-short-expand {
    position: absolute;
    top: var(--dc-space-3);
    right: var(--dc-space-3);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
}
.cb-short-expand:hover,
.cb-short-expand:focus-visible {
    background: var(--dc-red);
}
.cb-short-expand svg {
    display: block;
}
/* ---------- the short video card: the cover fills it, a soft fade at the
   foot with the caption (if any) and a play chip with the length ---------- */
.cb-play--short::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    content: "";
    pointer-events: none;
}
.cb-play--short img,
.cb-play--short video {
    opacity: 1;
}
.cb-short-foot {
    position: absolute;
    right: var(--dc-space-3);
    bottom: var(--dc-space-3);
    left: var(--dc-space-3);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--dc-space-2);
    text-align: left;
}
.cb-short-caption {
    color: #fff;
    font-size: var(--dc-text-sm);
    font-weight: 500;
    line-height: 1.35;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.cb-short-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--dc-ink);
    font-size: var(--dc-text-label);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    line-height: 1.4;
    transition: background 0.15s, color 0.15s;
}
.cb-short-chip svg {
    display: block;
    color: var(--dc-red);
    transition: color 0.15s;
}
.cb-play--short:hover .cb-short-chip,
.cb-play--short:focus-visible .cb-short-chip {
    background: var(--dc-red);
    color: #fff;
}
.cb-play--short:hover .cb-short-chip svg,
.cb-play--short:focus-visible .cb-short-chip svg {
    color: #fff;
}

/* ---------- the video player (content_blocks.js vpPlayer): the site's own
   controls on a fade at the foot: play / pause, progress, time, sound and
   full screen ---------- */
.cb-vp {
    position: relative;
    background: #000;
}
.cb-vp video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}
.cb-short-live .cb-vp {
    aspect-ratio: 9 / 16;
}
.cb-vp-bar {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: var(--dc-space-2);
    padding: 28px var(--dc-space-2) var(--dc-space-2);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
    color: #fff;
    transition: opacity 0.25s;
}
/* while playing, the controls fade out until the pointer is over the video */
@media (hover: hover) {
    .cb-vp:not(.is-paused):not(:hover):not(:focus-within) .cb-vp-bar {
        opacity: 0;
    }
}
.cb-vp-btn {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.cb-vp-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}
.cb-vp-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 1px;
}
.cb-vp-btn svg {
    display: block;
    pointer-events: none;
}
.cb-vp .i-play,
.cb-vp.is-paused .i-pause,
.cb-vp .i-muted,
.cb-vp.is-muted .i-sound {
    display: none;
}
.cb-vp.is-paused .i-play,
.cb-vp.is-muted .i-muted {
    display: block;
}
.cb-vp-time {
    flex: none;
    font-size: var(--dc-text-label);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.cb-vp-seek {
    --p: 0%;
    flex: 1 1 auto;
    min-width: 40px;
    height: 20px;
    margin: 0;
    background: transparent;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.cb-vp-seek::-webkit-slider-runnable-track {
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(to right, #fff var(--p), rgba(255, 255, 255, 0.35) var(--p));
}
.cb-vp-seek::-moz-range-track {
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.35);
}
.cb-vp-seek::-moz-range-progress {
    height: 3px;
    background: #fff;
}
.cb-vp-seek::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    margin-top: -4.5px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
}
.cb-vp-seek::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: #fff;
}
.cb-vp-seek:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
/* the card is narrow: the time drops out under 240px */
.cb-short-live .cb-vp-time {
    display: none;
}
@container (min-width: 240px) {
    .cb-short-live .cb-vp-time {
        display: inline;
    }
}
.cb-short-live {
    container-type: inline-size;
}
/* full screen: the player as tall as the screen */
.cb-viewer-media .cb-vp {
    height: calc(100vh - 220px);
    max-width: 100%;
    aspect-ratio: 9 / 16;
}

/* an uploaded video without a cover: its own first frame */
.cb-play video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.cb-short video.cb-frame {
    object-fit: contain;
    background: #000;
}
.cb-play--short .cb-play-icon {
    width: 52px;
    height: 52px;
}
.cb-short-source {
    position: absolute;
    top: var(--dc-space-3);
    left: var(--dc-space-3);
    z-index: 1;
    padding: 2px var(--dc-space-2);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: var(--dc-text-label);
    font-weight: 500;
}
.cb-short-source:empty {
    display: none;
}
.cb-short figcaption {
    margin-top: var(--dc-space-2);
    color: var(--dc-text);
    font-size: var(--dc-text-body);
    line-height: 1.45;
}

/* ---------- quote ----------
   As the homepage testimonials (home.css .home-quotes) on a soft grey band
   with faint dots: a red opening mark, the quote in light type, and below it
   who said it (photo, name, role · company). */
/* the band lines up with the photos and cards around it; inside, the same
   inset as the download card */
.cb-quote-fig {
    margin: 0;
    padding: var(--dc-space-7) var(--dc-space-6);
    background: linear-gradient(to bottom, rgba(245, 245, 245, 0.94), #f5f5f5 70%),
                #f5f5f5 url("/theme_dincel/static/production/img/background-dots-grey.png");
}
.cb-quote {
    max-width: var(--cb-col);
    margin: 0;
    padding: 0;
    border: 0;
}
.cb-quote::before {
    display: block;
    height: 30px;
    margin-bottom: var(--dc-space-2);
    color: var(--dc-red);
    font-family: var(--dc-font-head);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    content: "\201C";
}
.cb .cb-quote p {
    margin: 0;
    color: var(--dc-ink);
    font-family: var(--dc-font);
    font-size: 1.375rem;
    font-weight: 300;
    line-height: 1.5;
}
.cb .cb-quote.is-long p {
    font-size: 1.125rem;
}
.cb-quote-who {
    display: flex;
    align-items: center;
    gap: var(--dc-space-4);
    margin-top: var(--dc-space-6);
}
.cb-quote-who img {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}
.cb-quote-id {
    display: flex;
    flex-direction: column;
}
.cb-quote-name {
    color: var(--dc-ink);
    font-family: var(--dc-font-head);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}
.cb-quote-title {
    margin-top: 2px;
    color: var(--dc-muted);
    font-size: 0.9375rem;
}
.cb-quote-company {
    color: var(--dc-ink);
    font-weight: 500;
}
.cb-quote-role + .cb-quote-company::before {
    color: var(--dc-muted);
    font-weight: 400;
    content: " \00B7  ";
}
.cb-quote-name:only-child {
    margin: 0;
}

/* ---------- key facts ---------- */
.cb-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin: 0;
    border-top: 1px solid var(--dc-line);
    border-left: 1px solid var(--dc-line);
}
.cb-facts > div {
    padding: var(--dc-space-5) var(--dc-space-6);
    border-right: 1px solid var(--dc-line);
    border-bottom: 1px solid var(--dc-line);
}
.cb-facts dd {
    margin: 0;
    color: var(--dc-ink);
    font-family: var(--dc-font-head);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
}
.cb-facts dt {
    margin-top: var(--dc-space-1);
    color: var(--dc-muted);
    font-size: var(--dc-text-label);
    font-weight: 500;
    letter-spacing: var(--dc-tracking-label);
    text-transform: uppercase;
}

/* ---------- photo and text ---------- */
.cb-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--dc-space-8);
    align-items: center;
}
.cb-media--right .cb-media-photo {
    order: 2;
}
.cb-media-photo {
    margin: 0;
}
.cb-media-photo img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- download: a document card ---------- */
.cb-download {
    display: flex;
    align-items: center;
    gap: var(--dc-space-5);
    padding: var(--dc-space-5) var(--dc-space-6);
    background: var(--dc-soft);
    color: var(--dc-ink);
    text-decoration: none;
    transition: background 0.15s, box-shadow 0.2s;
}
.cb-download:hover,
.cb-download:focus-visible {
    background: #fff;
    box-shadow: var(--dc-shadow-lift), inset 0 0 0 1px var(--dc-line);
    color: var(--dc-ink);
    text-decoration: none;
}
.cb-download:focus-visible {
    outline: 2px solid var(--dc-red);
    outline-offset: 2px;
}
.cb-doc {
    position: relative;
    flex: none;
    width: 48px;
    height: 60px;
    color: var(--dc-muted);
    transition: transform 0.2s;
}
.cb-download:hover .cb-doc {
    transform: translateY(-2px);
}
.cb-doc svg {
    display: block;
}
.cb-doc-type {
    position: absolute;
    bottom: 8px;
    left: -6px;
    padding: 1px 6px;
    background: var(--dc-red);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.5;
}
.cb-download-text {
    flex: 1 1 auto;
    min-width: 0;
}
.cb-download-text strong {
    display: block;
    color: var(--dc-ink);
    font-family: var(--dc-font-head);
    font-size: 1.25rem;
    line-height: 1.25;
}
.cb-download-meta {
    display: block;
    margin-top: var(--dc-space-1);
    color: var(--dc-muted);
    font-size: var(--dc-text-sm);
}
.cb-download-btn {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: var(--dc-space-2);
    min-height: 44px;
    padding: 0 var(--dc-space-5);
    border: 1px solid var(--dc-ink);
    color: var(--dc-ink);
    font-size: var(--dc-text-body);
    font-weight: 500;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.cb-download:hover .cb-download-btn,
.cb-download:focus-visible .cb-download-btn {
    border-color: var(--dc-red);
    background: var(--dc-red);
    color: #fff;
}
.cb-download-btn svg {
    display: block;
}

/* ---------- call to action ---------- */
.cb-cta {
    padding: var(--dc-space-7) var(--dc-space-8);
}
.cb .cb-cta .dc-cta-text p {
    margin: 0;
    color: inherit;
}

/* ---------- full-screen photo viewer ---------- */
html.cb-viewer-open {
    overflow: hidden;
}
.cb-viewer,
.cb-viewer:modal {
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #000;
    color: #fff;
}
.cb-viewer[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}
.cb-viewer::backdrop {
    background: #000;
}
.cb-viewer:focus {
    outline: none;
}
.cb-viewer-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: calc(100% - 144px);
    max-height: 100%;
    margin: 0;
    padding: 56px 0 96px;
}
.cb-viewer-stage img {
    max-width: 100%;
    max-height: calc(100vh - 220px);
    object-fit: contain;
}
.cb-viewer-thumbs {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: safe center;
    gap: var(--dc-space-2);
    padding: var(--dc-space-3) var(--dc-space-4) var(--dc-space-4);
    overflow-x: auto;
    scrollbar-width: none;
}
.cb-viewer-thumbs::-webkit-scrollbar {
    display: none;
}
.cb-viewer-thumbs[hidden] {
    display: none;
}
.cb-viewer-thumbs button {
    flex: none;
    width: 72px;
    height: 54px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 0;
    background: #222;
    opacity: 0.55;
    cursor: pointer;
    transition: opacity 0.15s, border-color 0.15s;
}
.cb-viewer-thumbs button:hover {
    opacity: 0.9;
}
.cb-viewer-thumbs button.is-current {
    border-color: #fff;
    opacity: 1;
}
.cb-viewer-thumbs button:focus-visible {
    outline: 2px solid var(--dc-red);
    outline-offset: 1px;
}
/* short videos in the viewer: the video as tall as the screen allows */
.cb-viewer-media:empty {
    display: none;
}
.cb-viewer-media > iframe {
    display: block;
    height: calc(100vh - 220px);
    max-width: 100%;
    aspect-ratio: 9 / 16;
    border: 0;
    background: #000;
}
.cb-viewer-thumbs button {
    color: #fff;
    font-size: var(--dc-text-sm);
}
.cb-viewer.is-shorts .cb-viewer-thumbs button {
    width: 40px;
    height: 64px;
}
.cb-viewer-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cb-viewer-stage figcaption {
    margin-top: var(--dc-space-3);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--dc-text-sm);
}
.cb-viewer-nav,
.cb-viewer-close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.cb-viewer-nav:hover,
.cb-viewer-close:hover {
    background: #fff;
    color: var(--dc-ink);
}
.cb-viewer-nav:focus-visible,
.cb-viewer-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.cb-viewer-nav[hidden] {
    display: none;
}
.cb-viewer svg {
    display: block;
    pointer-events: none;
}
/* the close button and the count on one line at the top */
.cb-viewer-close { top: 16px; right: 16px; }
.cb-viewer-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.cb-viewer-next { right: 16px; top: 50%; transform: translateY(-50%); }
.cb .cb-viewer-count,
.cb-viewer-count {
    position: absolute;
    z-index: 2;
    top: 16px;
    left: 24px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--dc-text-sm);
    font-variant-numeric: tabular-nums;
    line-height: 48px;
}

/* swiping only moves the videos (content_blocks.js): the page behind doesn't
   scroll or bounce */
.cb-viewer.is-shorts {
    overflow: hidden;
    overscroll-behavior: none;
}
.cb-viewer.is-shorts .cb-vp video,
.cb-viewer.is-shorts .cb-viewer-stage {
    touch-action: none;
}
.cb-viewer.is-shorts .cb-vp-bar {
    touch-action: pan-x;
}
/* while one video slides out and the next in (content_blocks.js slideIn) */
.cb-viewer-media {
    position: relative;
}
.cb-viewer-media > .is-leaving {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}
/* short videos in the viewer: the video as tall as the screen, the arrows
   either side of it, no strip of thumbnails */
.cb-viewer.is-shorts .cb-viewer-thumbs {
    display: none;
}
.cb-viewer.is-shorts .cb-viewer-stage {
    padding: 80px 0 32px;
}
.cb-viewer.is-shorts .cb-viewer-media .cb-vp,
.cb-viewer.is-shorts .cb-viewer-media iframe {
    height: calc(100vh - 112px);
    height: calc(100dvh - 112px);
}
.cb-viewer.is-shorts .cb-viewer-prev {
    left: max(16px, calc(50% - (100vh - 112px) * 9 / 32 - 80px));
}
.cb-viewer.is-shorts .cb-viewer-next {
    right: max(16px, calc(50% - (100vh - 112px) * 9 / 32 - 80px));
}
.cb-viewer.is-shorts .cb-viewer-stage figcaption {
    max-width: calc((100vh - 112px) * 9 / 16);
}

/* =====================================================================
   Article page (content_blocks.xml cb_article): case studies, news
   ===================================================================== */
.cb-article {
    padding: 32px 0 72px;
    overflow-x: clip;
    background: #fff;
}
.cb-head {
    max-width: 1100px;
    margin-top: var(--dc-space-6);
}
.cb-head .cb-subtitle {
    max-width: var(--cb-col);
}
.cb-label {
    display: block;
    margin-bottom: var(--dc-space-3);
    color: var(--dc-red);
    font-size: var(--dc-text-label);
    font-weight: 500;
    letter-spacing: var(--dc-tracking-label);
    text-transform: uppercase;
}
.cb-label a {
    color: inherit;
}
.cb-head h1 {
    margin: 0;
    padding: 0;
    color: var(--dc-ink);
    font-family: var(--dc-font-head);
    font-size: 2.75rem;
    font-weight: bold;
    line-height: 1.05;
}
.cb-head .cb-subtitle {
    margin: var(--dc-space-4) 0 0;
    color: var(--dc-muted);
    font-size: 1.25rem;
    line-height: 1.45;
}
.cb-masthead {
    margin: var(--dc-space-7) 0 0;
    overflow: hidden;
    background: var(--dc-soft);
}
.cb-masthead img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
    object-fit: cover;
}

/* the story on the left, the sidebar on the right */
.cb-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    grid-template-areas: "main aside";
    gap: var(--dc-space-9);
    align-items: start;
    margin-top: var(--dc-space-8);
}
.cb-main {
    grid-area: main;
    min-width: 0;
}
/* beside the sidebar, text, quotes and downloads use the whole story column,
   so everything lines up on both edges */
.cb-main .cb-wide,
.cb-main .cb-col,
.cb-main .cb-quote {
    max-width: none;
}
.cb-aside {
    position: sticky;
    top: calc(var(--dc-header-h, 88px) + var(--dc-space-5));
    grid-area: aside;
}
body.o_connected_user .cb-aside {
    top: calc(var(--dc-header-h, 88px) + 46px + var(--dc-space-5));
}
.cb-intro .cb-text,
.cb-intro .cb-text p {
    color: var(--dc-ink);
    font-size: 1.25rem;
    line-height: 1.6;
}
.cb-body {
    margin-top: var(--dc-space-8);
}
/* no intro: the sections start level with the sidebar */
.cb-body:first-child {
    margin-top: 0;
}
.cb-intro + .cb-body:empty {
    display: none;
}

/* ---------- project at a glance ---------- */
.cb-glance {
    padding: var(--dc-space-6);
    background: var(--dc-soft);
}
.cb .cb-glance-title {
    margin: 0 0 var(--dc-space-5);
    padding: 0;
    color: var(--dc-muted);
    font-family: var(--dc-font);
    font-size: var(--dc-text-label);
    font-weight: 500;
    letter-spacing: var(--dc-tracking-label);
    line-height: 1.3;
    text-transform: uppercase;
}
.cb-glance-app {
    display: flex;
    align-items: center;
    gap: var(--dc-space-3);
    padding-bottom: var(--dc-space-5);
    border-bottom: 1px solid var(--dc-line);
    color: var(--dc-ink);
    text-decoration: none;
}
.cb-glance-app:hover,
.cb-glance-app:focus-visible {
    color: var(--dc-ink);
    text-decoration: none;
}
.cb-glance-app:hover strong {
    color: var(--dc-red);
}
.cb-glance-app img {
    flex: none;
    width: 44px;
    height: 44px;
}
.cb-glance-app strong {
    display: block;
    font-family: var(--dc-font-head);
    font-size: var(--dc-text-md);
    line-height: 1.25;
    transition: color 0.15s;
}
.cb-glance-app span span {
    display: block;
    margin-top: 2px;
    color: var(--dc-muted);
    font-size: var(--dc-text-sm);
}
.cb-glance-list {
    margin: 0;
}
.cb-glance-list > div {
    padding: var(--dc-space-4) 0;
    border-bottom: 1px solid var(--dc-line);
}
.cb-glance-list dt {
    margin: 0 0 var(--dc-space-1);
    color: var(--dc-muted);
    font-size: var(--dc-text-label);
    font-weight: 500;
    letter-spacing: var(--dc-tracking-label);
    text-transform: uppercase;
}
.cb-glance-list dd {
    margin: 0;
    color: var(--dc-ink);
    font-size: var(--dc-text-body);
    line-height: 1.45;
}
.cb-chips,
.cb-ticks {
    margin: var(--dc-space-1) 0 0;
    padding: 0;
    list-style: none;
}
.cb-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--dc-space-2);
}
.cb-chips li {
    padding: 2px var(--dc-space-3);
    border: 1px solid var(--dc-ink);
    background: #fff;
    color: var(--dc-ink);
    font-size: var(--dc-text-sm);
    font-weight: 500;
}
.cb-ticks li {
    position: relative;
    margin: 0 0 var(--dc-space-1);
    padding-left: 22px;
}
.cb-ticks li::first-letter {
    text-transform: uppercase;
}
.cb-ticks li::before {
    position: absolute;
    top: 0.45em;
    left: 2px;
    width: 11px;
    height: 6px;
    border-bottom: 2px solid var(--dc-red);
    border-left: 2px solid var(--dc-red);
    content: "";
    transform: rotate(-45deg);
}
.cb-glance-links {
    padding: var(--dc-space-3) 0;
    border-bottom: 1px solid var(--dc-line);
}
.cb-glance-link {
    display: flex;
    align-items: center;
    gap: var(--dc-space-3);
    min-height: 44px;
    color: var(--dc-ink);
    font-size: var(--dc-text-body);
    font-weight: 500;
    text-decoration: none;
}
.cb-glance-link svg {
    flex: none;
    color: var(--dc-red);
}
.cb-glance-link:hover,
.cb-glance-link:focus-visible {
    color: var(--dc-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cb-glance-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--dc-space-3);
    margin-top: var(--dc-space-5);
}
.cb-glance-actions .dc-btn {
    justify-content: center;
    width: 100%;
}
.cb-glance-contact {
    color: var(--dc-ink);
    font-size: var(--dc-text-sm);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cb-glance-contact:hover {
    color: var(--dc-red);
}
.cb .cb-glance-date {
    margin: var(--dc-space-5) 0 0;
    color: var(--dc-muted);
    font-size: var(--dc-text-label);
}

/* under the sidebar box: recent articles */
.cb-aside-list {
    margin-top: var(--dc-space-6);
    padding: 0 var(--dc-space-6);
}
.cb-aside-list ul {
    margin: 0 0 var(--dc-space-4);
    padding: 0;
    list-style: none;
}
.cb-aside-list li {
    border-bottom: 1px solid var(--dc-line);
}
.cb-aside-list li a {
    display: block;
    padding: var(--dc-space-3) 0;
    color: var(--dc-ink);
    text-decoration: none;
}
.cb-aside-list li strong {
    display: block;
    font-size: var(--dc-text-body);
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.15s;
}
.cb-aside-list li span {
    display: block;
    margin-top: 2px;
    color: var(--dc-muted);
    font-size: var(--dc-text-label);
}
.cb-aside-list li a:hover strong,
.cb-aside-list li a:focus-visible strong {
    color: var(--dc-red);
}

/* =====================================================================
   Website pages (page_website_page.xml): the page heading, then each section
   as a full-width band (theme_dincel dc_section)
   ===================================================================== */
.cb-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--dc-space-3);
    margin-top: var(--dc-space-6);
}
.cb-landing {
    background: #fff;
}
.cb-landing-top {
    padding-top: 32px;
    padding-bottom: var(--dc-space-8);
}
.cb-landing-top .cb-intro {
    max-width: var(--cb-col);
    margin-top: var(--dc-space-7);
}
.cb-landing .cb-wide {
    max-width: none;
}
.cb-landing-unpublished {
    padding: var(--dc-space-3) 0;
    background: #fff4d6;
    color: var(--dc-ink);
    font-size: var(--dc-text-sm);
    font-weight: 500;
}
/* a band's heading row sits a little closer to its content */
.cb-band .home-head {
    margin-bottom: var(--dc-space-6);
}

/* ---------- tablets and phones ---------- */
@media (max-width: 991.98px) {
    .cb-media {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--dc-space-5);
    }
    .cb-media--right .cb-media-photo {
        order: 0;
    }
    /* the sidebar goes above the story */
    .cb-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "aside" "main";
        gap: var(--dc-space-7);
        margin-top: var(--dc-space-6);
    }
    .cb-aside {
        position: static;
    }
    .cb-glance-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: var(--dc-space-6);
    }
    .cb-glance-list--one {
        display: block;
    }
    /* recent articles: the "More news" slider under the page has them */
    .cb-aside-list {
        display: none;
    }
    .cb-ticks {
        columns: 2;
        column-gap: var(--dc-space-6);
    }
    .cb-ticks li {
        break-inside: avoid;
    }
    .cb-glance-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--dc-space-5);
    }
    .cb-glance-actions .dc-btn {
        width: auto;
    }
}

@media (max-width: 767.98px) {
    .cb-block {
        margin-top: var(--dc-space-7);
    }
    .cb-text {
        font-size: 1rem;
    }
    .cb .cb-text table:not(.cb-table) td {
        display: block;
        padding: 0 !important;
    }
    .cb .cb-text .cb-table th,
    .cb .cb-text .cb-table td {
        padding: var(--dc-space-3);
        overflow-wrap: anywhere;
    }
    .cb-quote::before {
        height: 22px;
        font-size: 3rem;
    }
    .cb .cb-quote p,
    .cb .cb-quote.is-long p {
        font-size: 1.0625rem;
        line-height: 1.55;
    }
    .cb-quote-fig {
        padding: var(--dc-space-6) var(--dc-space-5);
    }
    .cb-quote-who {
        margin-top: var(--dc-space-5);
    }
    .cb-quote-title {
        font-size: var(--dc-text-sm);
    }
    .cb-quote-name {
        font-size: 1.125rem;
    }
    .cb-audio {
        align-items: flex-start;
        gap: var(--dc-space-4);
        padding: var(--dc-space-5);
    }
    .cb-audio-play {
        width: 48px;
        height: 48px;
    }
    .cb-audio-title {
        font-size: 1.125rem;
    }
    .cb-download {
        flex-wrap: wrap;
        gap: var(--dc-space-4);
        padding: var(--dc-space-5);
    }
    .cb-download-text {
        flex-basis: calc(100% - 48px - var(--dc-space-4));
    }
    .cb-download-btn {
        justify-content: center;
        width: 100%;
    }
    /* short videos: a sideways row across the whole screen; the card being
       watched sits in the middle with a slice of the next on each side */
    .cb-shorts {
        --cb-short-w: 72vw;
        position: relative;
        display: flex;
        gap: var(--dc-space-3);
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        padding: 0 calc((100vw - var(--cb-short-w)) / 2) 4px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 calc((100vw - var(--cb-short-w)) / 2);
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }
    .cb-shorts::-webkit-scrollbar {
        display: none;
    }
    .cb-short {
        flex: 0 0 var(--cb-short-w);
        scroll-snap-align: center;
    }
    .cb-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    /* gallery: one large, two small */
    .cb-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        aspect-ratio: auto;
    }
    .cb-gallery-grid > li {
        aspect-ratio: 4 / 3;
    }
    .cb-gallery-grid > li:first-child {
        grid-row: auto;
        grid-column: 1 / -1;
        aspect-ratio: 3 / 2;
    }
    .cb-gallery-grid > li:nth-child(n+4) {
        display: none;
    }
    .cb-gallery-2 > li:first-child {
        grid-column: auto;
        aspect-ratio: 4 / 3;
    }
    .cb-gallery-more--wide {
        display: none;
    }
    .cb-gallery-more--narrow {
        display: flex;
    }
    .cb-gallery-all {
        position: static;
        justify-content: center;
        width: 100%;
        margin-top: var(--dc-space-3);
        box-shadow: none;
    }
    .cb-gallery-head .cb-gallery-count {
        display: none;
    }
    .cb-viewer-thumbs button {
        width: 56px;
        height: 42px;
    }
    .cb-viewer-stage img {
        max-height: calc(100vh - 240px);
    }
    .cb-viewer-media > iframe,
    .cb-viewer-media .cb-vp {
        height: calc(100vh - 200px);
    }
    /* short videos: the whole screen, swipe to move on, the close button and
       count over the top of the video */
    .cb-viewer.is-shorts .cb-viewer-stage {
        padding: 0;
    }
    .cb-viewer.is-shorts .cb-viewer-media .cb-vp,
    .cb-viewer.is-shorts .cb-viewer-media iframe {
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        aspect-ratio: auto;
    }
    .cb-viewer.is-shorts .cb-vp-bar {
        padding-bottom: max(var(--dc-space-3), env(safe-area-inset-bottom));
    }
    .cb-viewer.is-shorts .cb-viewer-nav,
    .cb-viewer.is-shorts .cb-viewer-stage figcaption {
        display: none;
    }
    .cb-viewer.is-shorts .cb-viewer-close {
        top: max(12px, env(safe-area-inset-top));
        right: 12px;
        background: rgba(0, 0, 0, 0.45);
    }
    .cb-viewer.is-shorts .cb-viewer-count {
        top: max(12px, env(safe-area-inset-top));
        left: 12px;
        padding: 0 var(--dc-space-3);
        border-radius: 24px;
        background: rgba(0, 0, 0, 0.45);
        line-height: 48px;
    }
    .cb-glance {
        padding: var(--dc-space-5);
    }
    .cb-glance-list {
        grid-template-columns: minmax(0, 1fr);
    }
    .cb-facts > div {
        padding: var(--dc-space-4);
    }
    .cb-facts dd {
        font-size: 1.25rem;
    }
    .cb-cta {
        padding: var(--dc-space-6) var(--dc-space-5);
    }
    .cb-viewer-stage {
        max-width: 100%;
    }
    .cb-viewer-nav {
        top: auto;
        bottom: 88px;
        transform: none;
    }
    .cb-article {
        padding: 24px 0 48px;
    }
    .cb-head h1 {
        font-size: 2rem;
    }
    .cb-head .cb-subtitle {
        font-size: 1.0625rem;
    }
    .cb-masthead {
        margin-right: -15px;
        margin-left: -15px;
    }
    .cb-landing-top {
        padding-top: 24px;
        padding-bottom: var(--dc-space-7);
    }
    .cb-head-actions .dc-btn {
        flex: 1 1 auto;
        justify-content: center;
    }
    /* cards sections: one under another, so the titles and text fit */
    .dc-grid.cb-cards {
        grid-template-columns: minmax(0, 1fr);
    }
    .cb-masthead img {
        aspect-ratio: 4 / 3;
    }
    .cb-intro .cb-text,
    .cb-intro .cb-text p {
        font-size: 1.125rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cb-gallery-item img,
    .cb-gallery-more,
    .cb-viewer-thumbs button,
    .cb-doc,
    .cb-download-btn,
    .cb-audio-play,
    .cb-short-expand,
    .cb-short-chip,
    .cb-vp-bar,

    .cb-viewer-nav,
    .cb-viewer-close,
    .cb-play img,
    .cb-play-icon,
    .cb-download {
        animation: none;
        transition: none;
    }
}
