/* DG adaptation of the supplied BlogFlex cards, Bunzo lists and Mora article layout.
   Shared editorial styles retain the accessible, optional learning check. */
@font-face { font-family: "DG Blog"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/geist-latin.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "DG Blog"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/geist-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
.dg-blog-page *, .dg-blog-page *::before, .dg-blog-page *::after { box-sizing: border-box; }
.dg-blog-page { --blog-ink: #20231f; --blog-muted: #60645c; --blog-line: #e2e3dc; --blog-paper: #fff; --blog-yellow: #f8ca27; margin: 0; background: #f8f9f5; color: var(--blog-ink); font: 17px/1.7 "DG Blog", system-ui, sans-serif; overflow-wrap: anywhere; }
.dg-blog-page [hidden] { display: none !important; }
.dg-blog-page ::selection { color: #20231f; background: #ffe386; }
.dg-blog-page a { text-underline-offset: .2em; }
.dg-blog-page a:hover { color: #20231f; }
.dg-blog-page :is(a, button, input, summary):focus-visible { outline: 3px solid #20231f; outline-offset: 4px; }
.dg-blog-page .dg-editorial-header { position: static; gap: 24px; padding: 22px max(24px, calc((100vw - 1180px)/2)); background: #fff; color: var(--blog-ink); border-bottom: 1px solid var(--blog-line); }
.dg-blog-page .dg-blog-brand { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 750; line-height: 1.35; letter-spacing: -.02em; }
.dg-blog-brand img { flex-shrink: 0; border-radius: 10px; }
.dg-blog-brand small { display: block; margin-top: 3px; color: var(--blog-muted); font-size: 12px; font-weight: 450; letter-spacing: .01em; }
.dg-blog-page .dg-editorial-header nav { align-items: center; gap: 28px; font-size: 14px; font-weight: 550; }
.dg-blog-page .dg-editorial-header nav a { padding: 7px 0; text-decoration: none; border-bottom: 2px solid transparent; }
.dg-blog-page .dg-editorial-header nav a[aria-current], .dg-blog-page .dg-editorial-header nav a:hover { border-color: var(--blog-yellow); }
.dg-blog-page .dg-editorial-main { max-width: 1228px; padding: 30px 24px 64px; }
.dg-blog-page .dg-editorial-main h1 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.23; letter-spacing: -.035em; font-weight: 730; }
.dg-blog-page .dg-editorial-main h2 { letter-spacing: -.025em; }
.dg-blog-page .dg-editorial-lead { font-size: 18px; line-height: 1.7; font-weight: 420; color: #4e554c; }
.dg-blog-breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--blog-muted); font-size: 12px !important; line-height: 1.6; }
.dg-blog-breadcrumbs a { text-decoration: none; }
.dg-blog-breadcrumbs a:hover { text-decoration: underline; }
.dg-blog-breadcrumbs > [aria-current] { max-width: 700px; }
.dg-blog-intro { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding: 30px 0 28px; }
.dg-blog-page .dg-blog-kicker { margin: 0 0 10px; font-size: 11px; line-height: 1.5; font-weight: 650; letter-spacing: .12em; color: #64694f; }
.dg-blog-intro h1 { margin: 0 0 10px; }
.dg-blog-intro .dg-editorial-lead { margin: 0; }
.dg-blog-intro-note { margin: 0; font-size: 14px; color: var(--blog-muted); line-height: 1.7; }
.dg-blog-intro-note > span { display: block; margin-top: 10px; font-size: 12px; font-weight: 550; color: var(--blog-ink); }
.dg-blog-intro-note b { margin: 0 5px; }
.dg-blog-browser { padding: 21px 24px 17px; border: 1px solid var(--blog-line); border-radius: 14px; background: #fff; }
.dg-blog-path-picker { margin: 0 0 18px; padding: 13px 18px; border: 1px solid #e2cd7e; border-radius: 12px; background: #fff9e4; }
.dg-blog-path-picker summary { min-height: 30px; font-size: 15px; font-weight: 650; cursor: pointer; }
.dg-blog-path-picker summary > span { display: inline-block; margin-left: 12px; font-size: 12px; font-weight: 450; color: var(--blog-muted); }
.dg-blog-path-picker nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 16px; }
.dg-blog-path-picker nav a { display: grid; gap: 8px; padding: 15px; border: 1px solid var(--blog-line); border-radius: 8px; background: #fff; text-decoration: none; font-size: 14px; line-height: 1.5; }
.dg-blog-path-picker nav a[aria-current] { border-color: #20231f; background: #f8e9aa; }
.dg-blog-path-picker nav a > span { font-size: 12px; color: var(--blog-muted); }
.dg-blog-path-search { padding: 10px 18px; border: 1px solid var(--blog-line); border-radius: 10px; background: #fff; }
.dg-blog-path-search summary { padding: 5px 0; font-size: 14px; cursor: pointer; }
.dg-blog-path-search .dg-blog-browser { margin-top: 14px; padding: 15px 0 5px; border: 0; border-top: 1px solid var(--blog-line); border-radius: 0; }
.dg-blog-path-reset { margin: 14px 0 0; font-size: 13px; }
.dg-blog-path-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.dg-blog-path-steps > li { display: flex; flex-direction: column; min-width: 0; }
.dg-blog-path-steps .dg-blog-card { flex: 1; }
.dg-blog-path-step-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; }
.dg-blog-path-step-note { margin: 0 0 18px; font-size: 14px; line-height: 1.7; }
.dg-blog-path-context { margin: 22px 0; padding: 16px 18px; border: 1px solid var(--blog-line); border-radius: 10px; background: #fff9e4; font-size: 14px; line-height: 1.6; }
.dg-blog-path-context > p { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 0; }
.dg-blog-path-context > p > a { min-width: 0; }
.dg-blog-path-context > p > span { flex-shrink: 0; font-size: 12px; white-space: nowrap; }
.dg-blog-path-neighbours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.dg-blog-path-neighbours a { padding: 12px; border: 1px solid var(--blog-line); border-radius: 8px; background: #fff; }
.dg-blog-path-neighbours small { display: block; margin-bottom: 7px; font-size: 12px; }
.dg-blog-search { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.dg-blog-search label { font-size: 16px; font-weight: 650; }
.dg-blog-search > div { display: flex; width: min(100%, 540px); gap: 10px; }
.dg-blog-search input[type="search"] { min-width: 0; width: 100%; height: 44px; border: 1px solid #c8ccc2; border-radius: 8px; background: #f9faf6; color: var(--blog-ink); padding: 10px 14px; font-family: inherit; font-size: 15px; line-height: 1.4; }
.dg-blog-search input::placeholder { color: #6b7067; opacity: 1; }
.dg-blog-search button, .dg-blog-button { display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; gap: 16px; min-height: 44px; border: 1px solid #20231f; border-radius: 8px; padding: 10px 17px; background: #20231f; color: #fff !important; text-decoration: none !important; font: 550 14px/1.5 "DG Blog", system-ui, sans-serif; cursor: pointer; }
.dg-blog-search button:hover, .dg-blog-button:hover { background: #3c4438; }
.dg-blog-topics { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 18px; margin-top: 18px; border-top: 1px solid #eeeee8; }
.dg-blog-topics a { display: inline-flex; gap: 10px; align-items: center; padding: 9px 12px; border: 1px solid transparent; border-radius: 7px; color: #4d5349; text-decoration: none; font-size: 12px; font-weight: 550; line-height: 1.5; }
.dg-blog-topics a span { color: #63695e; font-size: 11px; }
.dg-blog-topics a[aria-current] { color: #20231f; background: #f9cf39; }
.dg-blog-topics a[aria-current] span { color: #323722; }
.dg-blog-topics a:hover { border-color: #cbcfc3; }
.dg-blog-section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin: 36px 0 20px; }
.dg-blog-page .dg-blog-section-head h2 { margin: 0; font-size: 24px; line-height: 1.35; font-weight: 680; }
.dg-blog-section-head > :is(span, p, a) { margin: 0; font-size: 12px; color: var(--blog-muted); }
.dg-blog-featured { display: grid; grid-template-columns: 1.12fr 1fr; grid-template-rows: 1fr 1fr; gap: 22px; }
.dg-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dg-blog-card { position: relative; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--blog-line); border-radius: 14px; background: var(--blog-paper); transition: border-color .18s, box-shadow .18s; }
.dg-blog-card:hover { border-color: #b5bdab; box-shadow: 0 8px 24px #1a26100a; }
.dg-blog-card:focus-within { outline: 3px solid var(--blog-ink); outline-offset: 3px; }
.dg-blog-card-media { min-width: 0; overflow: hidden; }
.dg-blog-card-image { display: block; width: 100%; height: 190px; object-fit: cover; }
.dg-blog-card-content { display: flex; flex-direction: column; flex: 1; padding: 23px; }
.dg-blog-card-top { display: flex; align-items: center; gap: 8px 14px; justify-content: space-between; flex-wrap: wrap; margin: 0 0 14px; font-size: 11px; color: var(--blog-muted); }
.dg-blog-tag { display: inline-block; width: fit-content; padding: 4px 8px; border-radius: 4px; background: #f0f2e8; color: #404c37; font-size: 11px; font-weight: 650; line-height: 1.5; text-decoration: none !important; }
.dg-blog-page .dg-blog-card h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.35; font-weight: 670; letter-spacing: -.025em; }
.dg-blog-card h3 a { text-decoration: none; }
.dg-blog-card h3 a::after { content: ""; position: absolute; inset: 0; }
.dg-blog-card h3 a:focus-visible { outline: 0 !important; background: transparent !important; }
.dg-blog-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.dg-blog-card-description { margin: 0 0 20px; color: #62675d; font-size: 13px; line-height: 1.7; }
.dg-blog-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: auto 0 0; padding-top: 8px; color: var(--blog-muted); font-size: 11px; }
.dg-blog-card-arrow { display: grid; place-items: center; width: 30px; height: 30px; background: #f4f5ef; border: 1px solid #e5e7dd; border-radius: 50%; font-size: 17px; color: var(--blog-ink); }
.dg-blog-card--lead { grid-row: 1 / 3; }
.dg-blog-card--lead .dg-blog-card-image { height: 240px; }
.dg-blog-card--lead .dg-blog-card-content { padding: 25px 28px; }
.dg-blog-page .dg-blog-card--lead h3 { max-width: 480px; font-size: 25px; }
.dg-blog-card--lead .dg-blog-card-description { max-width: 490px; font-size: 14px; }
.dg-blog-card--side { display: grid; grid-template-columns: 36% 1fr; }
.dg-blog-card--side .dg-blog-card-image { height: 100%; min-height: 220px; }
.dg-blog-card--side .dg-blog-card-content { padding: 21px; }
.dg-blog-card--side .dg-blog-card-description { display: none; }
.dg-blog-card--side .dg-blog-card-top time { display: none; }
.dg-blog-page .dg-blog-card--side h3 { font-size: 21px; }
.dg-blog-card--text { border-top: 3px solid #d4bb58; }
.dg-blog-card--text .dg-blog-card-content { padding-top: 26px; }
.dg-blog-filter-summary { display: flex; gap: 12px 24px; justify-content: space-between; align-items: baseline; padding-bottom: 20px; color: var(--blog-muted); font-size: 14px; }
.dg-blog-filter-summary p { margin: 0; }
.dg-blog-filter-summary a { min-height: 44px; display: inline-flex; align-items: center; }
.dg-blog-filter-actions { display: flex; flex-wrap: wrap; gap: 4px 18px; min-width: 0; }
.dg-blog-filter-summary p { min-width: 0; }
.dg-blog-recovery { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.dg-blog-recovery .dg-blog-button { min-width: 0; max-width: 100%; flex-shrink: 1; white-space: normal; overflow-wrap: anywhere; }
.dg-blog-empty { padding: 46px 24px; border: 1px dashed #bfc5b4; border-radius: 14px; background: #fff; text-align: center; }
.dg-blog-empty h3 { margin: 0; }
.dg-blog-empty p { margin: 12px 0 24px; color: var(--blog-muted); font-size: 15px; }
.dg-blog-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px; margin-top: 32px; }
.dg-blog-pagination a { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid var(--blog-line); border-radius: 8px; background: #fff; font-size: 14px; text-decoration: none; }
.dg-blog-pagination a[aria-current] { border-color: #20231f; background: #20231f; color: #fff; }
.dg-blog-pagination a:hover { border-color: #20231f; }
.dg-blog-author-band { display: flex; align-items: center; gap: 24px; padding: 30px 34px; margin-top: 48px; background: #f1f0df; border: 1px solid #e2dfc7; border-radius: 16px; }
.dg-blog-author-band > img { flex-shrink: 0; width: 86px; height: 86px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.dg-blog-author-band > div { flex: 1; }
.dg-blog-page .dg-blog-author-band h2 { font-size: 23px; margin: 0 0 5px; }
.dg-blog-author-band p:not(.dg-blog-kicker) { max-width: 570px; margin: 0; color: #5e634f; font-size: 14px; }
.dg-blog-author-band .dg-blog-kicker { margin-bottom: 5px; }
.dg-blog-button--light { color: #20231f !important; background: #fff; border-color: #bfc4b4; }
.dg-blog-button--light:hover { background: #fafaf5; }
.dg-blog-article-head { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr); align-items: center; gap: 46px; padding: 32px 0 36px; border-bottom: 1px solid var(--blog-line); }
.dg-blog-article-head h1 { margin: 15px 0 20px; }
.dg-blog-article-head .dg-editorial-lead { margin: 0 0 24px; font-size: 17px; }
.dg-blog-quick-start { display: grid; gap: 6px; margin: 0 0 24px; padding: 16px 18px; border: 1px solid #e2cd7e; border-radius: 10px; background: #fff6cf; }
.dg-blog-quick-start > span { font-size: 11px; font-weight: 650; color: #625829; }
.dg-blog-quick-start > a { font-size: 15px; line-height: 1.5; font-weight: 650; }
.dg-blog-quick-start > small { font-size: 12px; line-height: 1.6; color: #625829; }
.dg-blog-quick-start > .dg-blog-quiz-jump { width: fit-content; margin-top: 4px; padding: 8px 0; font-size: 12px; font-weight: 450; }
.dg-blog-article-head--plain { display: block; }
.dg-blog-article-head--plain > div { max-width: 860px; }
.dg-blog-byline { display: flex; align-items: center; gap: 12px; }
.dg-blog-byline > img { width: 40px; height: 40px; object-fit: cover; object-position: 50% 20%; border-radius: 50%; }
.dg-blog-byline a { font-size: 13px; font-weight: 650; text-decoration: none; }
.dg-blog-byline p { display: flex; flex-wrap: wrap; gap: 5px 10px; margin: 0; font-size: 12px; color: var(--blog-muted); }
.dg-blog-figure { margin: 0; min-width: 0; }
.dg-blog-figure img { display: block; width: 100%; height: 310px; object-fit: cover; border-radius: 12px; }
.dg-blog-figure figcaption { margin: 9px 0 0; font-size: 11px; color: var(--blog-muted); text-align: right; }
.dg-blog-reading-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; column-gap: 72px; align-items: start; padding-top: 40px; }
.dg-blog-reading-main { grid-column: 1; grid-row: 1; min-width: 0; max-width: 780px; }
.dg-blog-sidebar { grid-column: 2; grid-row: 1; min-width: 0; }
.dg-blog-contents { padding: 22px; border: 1px solid var(--blog-line); border-radius: 12px; background: #fff; }
.dg-blog-contents summary { font-size: 15px; font-weight: 650; cursor: pointer; }
.dg-blog-contents nav { margin-top: 19px; }
.dg-blog-contents ol { list-style: none; counter-reset: blog-section; margin: 0; padding: 0; }
.dg-blog-contents li { display: flex; align-items: baseline; gap: 10px; margin: 0 0 15px !important; line-height: 1.5; counter-increment: blog-section; }
.dg-blog-contents li:last-child { margin-bottom: 0 !important; }
.dg-blog-contents li::before { content: counter(blog-section, decimal-leading-zero); flex: 0 0 16px; color: #73785e; font-size: 10px; white-space: nowrap; }
.dg-blog-contents a { font-size: 12px; text-decoration: none; }
.dg-blog-contents a:hover { text-decoration: underline; }
.dg-blog-tool { display: grid; gap: 10px; padding: 23px; margin: 24px 0; border: 1px solid #e2cd7e; border-radius: 12px; background: #fff6cf; }
.dg-blog-tool > span { font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: #625829; }
.dg-blog-tool > a { font-size: 16px; font-weight: 650; text-decoration: none; line-height: 1.45; }
.dg-blog-tool > a:hover { text-decoration: underline; }
.dg-blog-tool > small { font-size: 12px; color: #625829; }
.dg-blog-sidebar-note { color: var(--blog-muted); font-size: 12px; line-height: 1.8; }
.dg-blog-body { font-size: 17px; line-height: 1.85; }
.dg-blog-page .dg-blog-body h2 { margin: 36px 0 15px; font-size: 25px; line-height: 1.35; font-weight: 650; }
.dg-blog-page .dg-blog-body > h2:first-child { margin-top: 0; }
.dg-blog-body p { margin: 0 0 20px; }
.dg-blog-body li { margin: 10px 0; }
.dg-blog-body a { text-decoration-color: #abae9e; }
.dg-blog-page .dg-guide-example { margin: 32px 0; padding: 28px; border: 1px solid #decf8c; border-left: 5px solid #f1c631; border-radius: 0 12px 12px 0; background: #fff9e4; }
.dg-blog-page .dg-guide-example h2 { margin: 0 0 14px; font-size: 24px; }
.dg-blog-page .dg-guide-example p:last-child { margin-bottom: 0; }
.dg-blog-page .dg-guide-quiz { padding: 30px; border-radius: 14px; border-color: var(--blog-line); margin: 36px 0; }
.dg-blog-page .dg-guide-quiz h2 { font-size: 25px; margin: 0 0 12px; }
.dg-blog-page .dg-guide-quiz__note, .dg-blog-page [data-quiz-fallback] { font-size: 13px; color: var(--blog-muted); line-height: 1.7; }
.dg-blog-page .dg-guide-quiz fieldset { border-radius: 10px; border-color: #d4d9cb; padding: 17px; }
.dg-blog-page .dg-guide-quiz legend { font-size: 17px; }
.dg-blog-page .dg-guide-quiz label { font-size: 15px; border-color: #e3e6dc; background: #fafbf7; padding: 13px; }
.dg-blog-page .dg-guide-quiz label:has(input:checked) { background: #edf4e6; border-color: #5f7951; }
.dg-blog-page .dg-guide-quiz button { font-family: inherit; font-size: 14px; background: #20231f; border-color: #20231f; border-radius: 8px; }
.dg-blog-page .dg-guide-quiz button[data-quiz-reset] { background: #fff; color: #20231f; }
.dg-blog-page .dg-guide-quiz__result { background: #fff6d8; border-color: #e3d297; border-radius: 10px; }
.dg-blog-page .dg-guide-quiz details, .dg-blog-page .dg-guide-quiz__feedback { font-size: 14px; }
.dg-blog-onward { margin: 28px 0; padding-top: 24px; border-top: 1px solid var(--blog-line); }
.dg-blog-page .dg-blog-onward h2 { margin: 0 0 16px; font-size: 22px; line-height: 1.4; }
.dg-blog-onward ul { list-style: none; padding: 0; margin: 0; }
.dg-blog-onward li + li { border-top: 1px solid var(--blog-line); }
.dg-blog-onward li a { display: grid; gap: 6px; padding: 16px 0; min-height: 44px; text-decoration: none; overflow-wrap: anywhere; }
.dg-blog-onward small { color: var(--blog-muted); font-size: 13px; line-height: 1.5; }
.dg-blog-onward li a > span { font-size: 16px; font-weight: 600; line-height: 1.6; }
.dg-blog-onward b { font-weight: 400; }
.dg-blog-onward li a:hover > span { text-decoration: underline; }
.dg-blog-onward-all { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: 14px; line-height: 1.5; }
.dg-blog-related { margin-top: 32px; padding-top: 0; border-top: 1px solid var(--blog-line); }
.dg-blog-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dg-blog-card--related:not(.dg-blog-card--text) { display: grid; grid-template-columns: 36% 1fr; }
.dg-blog-card--related .dg-blog-card-image { height: 100%; min-height: 220px; }
.dg-blog-card--related .dg-blog-card-top time { display: none; }
.dg-blog-page .dg-publisher-footer { background: #20231f; color: #f3f4ec; border-top: 4px solid var(--blog-yellow); padding: 28px 24px; text-align: center; }
.dg-blog-page .dg-publisher-footer nav { gap: 14px 24px; }
.dg-blog-page .dg-publisher-footer a { font-size: 13px; text-decoration: none; }
.dg-blog-page .dg-publisher-footer p { color: #c5cabb; font-size: 11px; }
.dg-blog-page :target { scroll-margin-top: 22px; }
@media (max-width: 1000px) {
  .dg-blog-path-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dg-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dg-blog-featured { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .dg-blog-card--lead { grid-row: auto; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .dg-blog-card--lead .dg-blog-card-image { height: 100%; min-height: 270px; }
  .dg-blog-card--side { display: flex; }
  .dg-blog-card--side .dg-blog-card-image { height: 160px; min-height: 0; }
  .dg-blog-article-head { gap: 28px; }
  .dg-blog-article-head .dg-editorial-lead { font-size: 16px; }
  .dg-blog-figure img { height: 280px; }
  .dg-blog-reading-layout { grid-template-columns: minmax(0, 1fr) 235px; column-gap: 32px; }
  .dg-blog-contents { padding: 18px; }
  .dg-blog-card--related:not(.dg-blog-card--text) { display: flex; }
  .dg-blog-card--related .dg-blog-card-image { height: 180px; min-height: 0; }
}
@media (max-width: 760px) {
  .dg-blog-path-steps { grid-template-columns: 1fr; }
  .dg-blog-page .dg-editorial-header { flex-direction: column; align-items: start; gap: 16px; padding: 18px 20px 12px; }
  .dg-blog-page .dg-editorial-header nav { gap: 12px 24px; font-size: 13px; }
  .dg-blog-page .dg-editorial-main { padding: 24px 20px 42px; }
  .dg-blog-intro { display: block; padding: 24px 0; }
  .dg-blog-intro-note { margin-top: 18px; }
  .dg-blog-intro-note > span { margin-top: 8px; }
  .dg-blog-search { display: block; }
  .dg-blog-search label { display: block; margin-bottom: 10px; }
  .dg-blog-search > div { width: 100%; }
  .dg-blog-search input[type="search"] { font-size: 16px; }
  .dg-blog-browser { padding: 18px; }
  .dg-blog-topics { gap: 5px; }
  .dg-blog-topics a { padding: 8px; }
  .dg-blog-article-head { display: block; padding: 24px 0; }
  .dg-blog-article-head .dg-editorial-lead { font-size: 17px; }
  .dg-blog-figure { margin-top: 24px; }
  .dg-blog-figure img { height: auto; max-height: 320px; }
  .dg-blog-reading-layout { display: flex; flex-direction: column; gap: 30px; padding-top: 26px; }
  .dg-blog-sidebar { width: 100%; }
  .dg-blog-sidebar .dg-blog-tool, .dg-blog-sidebar-note { display: none; }
  .dg-blog-contents ol { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
  .dg-blog-contents li { margin-bottom: 0 !important; }
  .dg-blog-author-band { gap: 18px; flex-wrap: wrap; padding: 24px; }
  .dg-blog-author-band > img { width: 66px; height: 66px; }
  .dg-blog-author-band > div { flex-basis: calc(100% - 90px); }
  .dg-blog-author-band .dg-blog-button { margin-left: 84px; }
  .dg-blog-filter-summary { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .dg-blog-path-steps, .dg-blog-path-neighbours { grid-template-columns: 1fr; }
  .dg-blog-path-picker summary > span { display: block; margin: 5px 0 0; }
  .dg-blog-page .dg-editorial-main h1 { font-size: 29px; }
  .dg-blog-page .dg-editorial-lead { font-size: 17px; }
  .dg-blog-intro-note br { display: none; }
  .dg-blog-page .dg-editorial-header nav { gap: 6px 18px; font-size: 12px; }
  .dg-blog-page .dg-blog-section-head h2 { font-size: 22px; }
  .dg-blog-search button { padding: 10px 13px; font-size: 13px; }
  .dg-blog-search button span { display: none; }
  .dg-blog-topics a { font-size: 11px; gap: 6px; }
  .dg-blog-grid, .dg-blog-featured, .dg-blog-related-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .dg-blog-card--lead { display: flex; grid-column: auto; }
  .dg-blog-card--lead .dg-blog-card-image { height: 210px; min-height: 0; }
  .dg-blog-card--lead .dg-blog-card-content, .dg-blog-card-content { padding: 22px; }
  .dg-blog-page .dg-blog-card--lead h3 { font-size: 23px; }
  .dg-blog-card--side { display: grid; grid-template-columns: 32% 1fr; }
  .dg-blog-card--side .dg-blog-card-image { height: 100%; min-height: 185px; }
  .dg-blog-card--side .dg-blog-card-content { padding: 18px; }
  .dg-blog-page .dg-blog-card--side h3 { font-size: 18px; }
  .dg-blog-card--side .dg-blog-card-bottom { font-size: 10px; }
  .dg-blog-card--side .dg-blog-card-arrow { display: none; }
  .dg-blog-contents ol { display: block; }
  .dg-blog-contents li { margin-bottom: 12px !important; }
  .dg-blog-contents a { font-size: 13px; }
  .dg-blog-body { font-size: 16px; line-height: 1.85; }
  .dg-blog-page .dg-blog-body h2 { font-size: 23px; }
  .dg-blog-page .dg-guide-example { padding: 22px; }
  .dg-blog-page .dg-guide-example h2 { font-size: 22px; }
  .dg-blog-page .dg-guide-quiz { padding: 22px 15px; }
  .dg-blog-page .dg-guide-quiz h2 { font-size: 23px; }
  .dg-blog-page .dg-guide-quiz fieldset { padding: 13px 10px; }
  .dg-blog-page .dg-guide-quiz label { padding: 12px 10px; }
  .dg-blog-page .dg-guide-quiz legend { font-size: 16px; }
  .dg-blog-pagination { gap: 6px; }
  .dg-blog-pagination a { min-width: 37px; height: 42px; }
  .dg-blog-author-band .dg-blog-button { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .dg-blog-card { transition: none; } }
@media print {
  .dg-blog-path-picker, .dg-blog-path-context, .dg-blog-path-search { display: none !important; }
  .dg-blog-page { background: #fff; }
  .dg-blog-related, .dg-blog-onward, .dg-blog-tool, .dg-blog-sidebar, .dg-blog-browser, .dg-blog-pagination, .dg-blog-author-band, .dg-blog-breadcrumbs { display: none !important; }
  .dg-blog-page .dg-editorial-main { max-width: none; padding: 0; }
  .dg-blog-reading-layout, .dg-blog-article-head { display: block; }
  .dg-blog-figure { max-width: 400px; margin: 20px 0; }
  .dg-blog-reading-main { max-width: none; }
  .dg-blog-card, .dg-blog-page .dg-guide-example, .dg-blog-page .dg-guide-quiz fieldset { break-inside: avoid; }
}

/* Related readings share the selected tool; native links remain usable without scripts. */
.dg-blog-tool-reset { margin: -12px 0 24px; font-size: 14px; }
.dg-blog-tool-reset a, .dg-blog-quick-start .dg-blog-tool-articles { display: inline-flex; align-items: center; min-height: 44px; }
.dg-blog-quick-start .dg-blog-tool-articles { font-size: 14px; line-height: 1.5; }
